The Napoleonic code was made as a new set of laws for France after the revolution. The code gave the people of France many freedoms, but at the same time, several major components of the code were setbacks in comparison to the revolution. The code promoted authority over individual rights; meaning that authority figures were more important than an individual's rights. Another major setback in the code was that freedom of speech and freedom of the press were restricted; even though both freedoms were reformed during the revolution. Slavery was restored in the Caribbean islands; however, in France slavery was nonexistent. The fourth setback was that women didn’t have any rights. The code states that a woman cannot divorce her husband, and she cannot own land unless her husband signs a deed allowing her to own land. These are only two of several restrictions that are targeted toward women. In fact, while writing the code with his peers, Napoleon said that a woman’s only duty was to be a wife to her husband and a mother to her children.