question: Maximilian, was the only monarch of the Second Mexican Empire, after a distinguished career in the Austrian Navy, he accepted an offer by who, he was the President of France from 1848 to 1852 and, as Napoleon III, the Emperor of the French from 1852 to 1870?
answer: Napoleon III
context: Title: Maximilian I of Mexico
  Passage: 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.
  Title: 19th-century French art
  Passage: 19th-century French art was made in France or by French citizens during the following political regimes: Napoleon Bonaparte's Consulate (1799-1804) and Empire (1804-1814), the Restoration under Louis XVIII and Charles X (1814-1830), the July Monarchy under Louis Philippe d'Orléans (1830-1848), the Second Republic (1848-1852), the Second Empire under Napoleon III (1852-1871), and the first decades of the Third Republic (1871-1940).
  Title: Napoleon III
  Passage: Louis-Napoléon Bonaparte (born Charles-Louis Napoléon Bonaparte; 20 April 1808 – 9 January 1873) was the President of France from 1848 to 1852 and, as Napoleon III, the Emperor of the French from 1852 to 1870.  He was the only president of the French Second Republic and the head of the Second French Empire.
  Title: Juan Almonte
  Passage: Juan Nepomuceno Almonte (May 15, 1803 – March 21, 1869) was a 19th-century Mexican official, soldier and diplomat.  He was a veteran of the Battle of the Alamo during the Texas Revolution.  Almonte was also a leader of Mexico's Conservatives in the 1860s and served as regent after the Second Mexican Empire was established by Napoleon III of France.
  Title: Second Mexican Empire
  Passage: The Mexican Empire (Spanish: "Imperio Mexicano" ) or Second Mexican Empire (Spanish: "Segundo Imperio Mexicano" ) was the name of Mexico under a limited hereditary monarchy declared by the Assembly of Notables on July 10, 1863, during the Second French intervention in Mexico.  It was created with the support of Napoleon III of France, who attempted to establish a monarchist ally in the Americas.  A referendum confirmed Austrian Archduke Ferdinand Maximilian, of the House of Habsburg-Lorraine, as Emperor Maximilian I of Mexico.
citations: Napoleon III Maximilian I of Mexico