
The French invasion of
Mexico in 1863 was resisted fiercely by the defenders of the San Javier
fort in the city of Puebla. When it fell, México city was plucked
without a major effort and Maximiliam Habsurg was installed as emperor.
But the French never actually occupied the rest of the country, who rose
up and in 1865 captured the French surrogate and executed him in 1866.