Answer
Maximilian's reign as Emperor of Mexico lasted for three years, from 1864 to 1867. He was installed by the French Army, which had invaded Mexico in an attempt to restore the monarchy. Maximilian's rule was unpopular, and he was eventually captured and executed by Mexican revolutionaries.