Napoleon destroyed democracy by overthrowing the Directory that had been appointed by the democratically elected Legislative Assembly. Napoleon took over power from the Directory on November 9, 1799.
The Napoleonic code was a civil law code established by Napoleon in 1804. This law code was in accordance with the ideals of the French Revolution. It abolished the feudal system, removed all privileges based on birth, established equality before the law and secured the right to property. It also established a national currency and standardised weights and measures.