As Napoleon I, he was Emperor of the French from 1804 to 1815, the first monarch of France bearing the title emperor since the reign of Charles the Fat (881--887). His legal reform, the Napoleonic Code, has been a major influence on many civil law jurisdictions worldwide, but he is best remembered for his role in the wars led against France by a series of coalitions, the so-called Napoleonic Wars.