Representative democracy is about representing the people and their wishes. Ever since the ancient Romans, leaders have struggled with the concept of how to create a system which accurately represents as broad section of the society as possible.
Only in recent centuries have we come close to something truly representative. In 1789, France adopted the Declaration of the Rights of Man and of the Citizen, which while imperfect, did try to address the disparities in the system whereby one group would be privileged over another.