قانون نابليون
In December 1799, Cambacérès was appointed Second Consul under Bonaparte. He owed this appointment to his vast legal knowledge and his reputation as a moderate republican. His most important work during this period, and arguably during his entire political career, was the drawing up of a new Civil Law Code (later called the Napoleonic Code; France's first modern legal code). The Code was promulgated by Bonaparte (as Emperor Napoleon) in 1804. In the end, the Napoleonic Code was the work of Cambacérès and a commission of four lawyers.