Equality before the law was a cornerstone principle that emerged from the French Revolution, reshaping the French legal and social landscape. During the Ancien Régime (the period before the revolution), French society was divided into three estates: the clergy, the nobility, and the commoners. Each estate had distinct legal privileges and obligations, creating a system where individuals were subject to different laws based on their social status. The principles of the Enlightenment influenced the revolutionary leaders, who sought to dismantle the inequitable legal structures and replace them with laws that treated all citizens equally. This idea was significantly incorporated into the Declaration of the Rights of Man and of the Citizen (26 August 1789), which proclaimed that "Men are born and remain free and equal in rights." It emphasized that the law "must be the same for all, whether it protects or punishes." The implementation of equality before the law required extensive legal reforms. One crucial measure was the abolition of feudal privileges. Feudal rights (which granted certain estates the ability to levy taxes, administer justice, and maintain their own courts) were terminated on the night of 4 August 1789 in a session of the National Constituent Assembly. This act dismantled the hierarchical legal privileges enjoyed by the nobility and the clergy, paving the way for a uniform legal system. Further advancements towards legal equality were made with the publication of the Civil Code of 1804 (also known as the Napoleonic Code). This code codified laws to ensure uniformity and equal treatment under the law across France. It addressed issues such as property rights, family law, and contractual relationships, providing a cohesive legal framework. The Napoleonic Code abolished privileges based on birth and established merit-based recognition, ensuring that no individual or group had advantages by virtue of their social standing. The judicial system was also reformed to align with the principle of equality. Courts were reorganized to be more accessible to the general populace, and the practice of appointing judges was altered to reduce noble influence. The independence of the judiciary was enhanced, ensuring that judgments were based on law and not on social connections or status. Throughout these reforms, the revolutionary government faced significant resistance from those who benefitted from the old regime's privileges. However, the commitment to the principle of equality before the law remained steadfast. These legal transformations significantly democratized French society, even if they were not perfectly realized in practice.