Napoléon’s Civil Code became law in March 1804, two months before he was declared emperor. Unsurprisingly, the laws concerning women were designed to restrict their independence. Women were viewed as legal minors all their lives, passing from the custody of their fathers into that of their husbands.