In 1861, French Emperor Napoleon III sought to expand his empire and invaded Mexico. The French Empire, along with Hungarian hussars, took control of the country. The first official contact between the Kingdom of Hungary and Mexico commenced with the arrival of Emperor Maximilian of Habsburg, who ruled Mexico from 1864 to 1867 and was brother to Franz Joseph I, Emperor of Austria and King of Hungary. Maximilian I resided in Chapultepec Castle while in Mexico City; it now serves as a museum that featuring furnishings and artwork from 1860s Austria-Hungary.