Legendre lost his private fortune in 1793 during the French Revolution. That year, he also married Marguerite-Claudine Couhin, who helped him put his affairs in order. In 1795 Legendre became one of six members of the mathematics section of the reconstituted Académie des Sciences, renamed the Institut National des Sciences et des Arts. Later, in 1803, Napoleon reorganized the Institut National, and Legendre became a member of the Geometry section. From 1799 to 1812, Legendre served as mathematics examiner for graduating artillery students at the École Militaire and from 1799 to 1815 he served as permanent mathematics examiner for the École Polytechnique. In 1824, Legendre was denied his pension from the École Militaire because he refused to vote for the government candidate at the Institut National—the comte de Corbière, Ministre de L'Intérieur of the ultraroyalist government. His pension was partially reinstated with the change in government in 1828. In 1831 he was made an officer of the Légion d'Honneur.