Among Napoleon's most lasting reforms was a new law code, popularly called the Napoleonic Code. It embodied Enlightenment principles such as equality of all citizens before the law, religious toleration, and advancement based on virtue. But the Napoleonic Code undid some reforms of the French Revolution. Women, for example, lost most of their newly gained rights under the new code. The law considered women minors who could not exercise the rights of citizenship. Male heads of households regained full authority over their wives and children. Again, Napoleon valued order and authority over individual rights.