Which monarch of the Mexican Empire was the 19th-century castle on the Gulf of Trieste Miramare Castle built for?
Maximilian I of Mexico Maximilian (Spanish: "Maximiliano"; born "Ferdinand Maximilian Joseph"; 6 July 1832 – 19 June 1867) was the only monarch of the Second Mexican Empire. He was a younger brother of the Austrian emperor Francis Joseph I. After a distinguished career in the Austrian Navy, he accepted an offer by Napoleon III of France to rule Mexico. France (along with the United Kingdom and Spain, who both withdrew the following year after negotiating agreements with Mexico's democratic government) had invaded Mexico in the winter of 1861, as part of the War of the French Intervention. Seeking to legitimize French rule in the Americas, Napoleon III invited Maximilian to establish a new Mexican monarchy for him. With the support of the French army, and a group of conservative Mexican monarchists hostile to the liberal administration of new Mexican President Benito Juárez, Maximilian traveled to Mexico. Once there, he declared himself Emperor of Mexico on 10 April 1864.
John VI of Portugal John VI (Portuguese: "João VI"; none }} – none }} ), nicknamed "the Clement", was King of the United Kingdom of Portugal, Brazil and the Algarves from 1816 to 1825. Although the United Kingdom over which he ruled ceased to exist "de facto" beginning in 1822, he remained its monarch "de jure" between 1822 and 1825. After the recognition of Brazilian independence under the Treaty of Rio de Janeiro of 1825, he continued as King of Portugal and the Algarves until his death in 1826. Under the same treaty, he also became titular Emperor of Brazil for life, while his son, Pedro I of Brazil, was both "de facto" and "de jure" the monarch of the newly-independent country.