section_path: Context/Events after the Battle of Puebla
section_name: Events after the Battle of Puebla
paragraph_text: Events after the Battle of Puebla
  
  The Mexican victory, however, was short-lived. A year later, with 30,000 troops, the French were able to defeat the Mexican army, capture Mexico City, and install Emperor Maximilian I as ruler of Mexico. Maximilian's rule lasted only three years, from 1864 to 1867. By 1865, "with the American Civil War now over, the U.S. began to provide more political and military assistance to Mexico to expel the French." After the American Civil War 's end, Napoleon III, facing a persistent Mexican guerilla resistance, the threat of war with Prussia, and "the prospect of a serious scrap with the United States", began withdrawing French troops from Mexico in 1866. The Mexicans recaptured Mexico City, and Maximilian I was apprehended and executed, along with his Mexican generals Miguel Miramón and Tomás Mejía Camacho in Cerro de las Campanas, Querétaro. "On June 5, 1867, Benito Juárez entered Mexico City where he installed a new government organizing his administration."
  
  The Mexican victory, however, was short-lived. A year later, with 30,000 troops, the French were able to defeat the Mexican army, capture Mexico City, and install Emperor Maximilian I as ruler of Mexico. Maximilian's rule lasted only three years, from 1864 to 1867. By 1865, "with the American Civil War now over, the U.S. began to provide more political and military assistance to Mexico to expel the French." After the American Civil War 's end, Napoleon III, facing a persistent Mexican guerilla resistance, the threat of war with Prussia, and "the prospect of a serious scrap with the United States", began withdrawing French troops from Mexico in 1866. The Mexicans recaptured Mexico City, and Maximilian I was apprehended and executed, along with his Mexican generals Miguel Miramón and Tomás Mejía Camacho in Cerro de las Campanas, Querétaro. "On June 5, 1867, Benito Juárez entered Mexico City where he installed a new government organizing his administration."