Answer
Maximilian I's monarchy in Mexico collapsed after the withdrawal of the French armies from the country. The French armies had been supporting Maximilian, who was an Austrian archduke, but they were forced to withdraw after a French defeat at the Battle of Puebla. The withdrawal of the French armies left Maximilian without any support, and he was quickly overthrown and executed.