The National Convention established many democratic reforms between 1792-1795, including universal elementary education. The Committee of Public Safety aimed to create a "Republic of Virtue" through economic controls and ending slavery. The convention adopted the metric system and created a new Republican calendar. The French army succeeded in victories that expanded French territory. In 1795, the Convention established a new government called the Directory with a two-chamber legislature and five executive Directors. However, the Directory faced economic and political challenges and grew unpopular. Napoleon Bonaparte rose to prominence through his military successes, and eventually seized power in a 1799 coup d'état, declaring himself the ruler of France.