The fall of King Louis Philippe I in 1848 led to a strengthening of the Legitimist position. Although the childlessness of Chambord weakened the hand of the Legitimists, they came back into political prominence during the Second Republic. Legitimists joined with Orleanists to form the Party of Order which dominated parliament from the elections of May 1849 until Bonaparte's coup on 2 December 1851. They formed a prominent part of Odilon Barrot's ministry from December 1848 to November 1849 and in 1850 were successful in passing the Falloux Law which brought the Catholic Church back into secondary education.