Between 6 January and 8 January 1862, French troops invaded Mexico, supported by Mexican monarchists, many of whom were part of the nobility, ultimately capturing Mexico City on 10 July 1863. The French proclaimed a Catholic Empire in Mexico and installed Maximilian I of Mexico as Emperor of the Second Mexican Empire. Maximilian arrived in Mexico on 28 May or 29 May 1864 with his consort, Charlotte of Belgium. Republican forces continued their opposition and the French ultimately evacuated Mexico City on 5 February 1867. Maximilian was captured in Querétaro on 15 May 1867 and executed on 19 June 1867. The republic was restored, President Juárez returned to power, and the 1857 Constitution reinstated as the supreme law of the nation.