information:filtering, structural:expansion
Retreat from Mexico City

After the Battle of Monte de las Cruces on 30 October 1810, Hidalgo had some 100,000 insurgents and was in a strategic position to attack Mexico City. Numerically, his forces outnumbered royalist forces. The royalist government in Mexico City, under the leadership of Viceroy Francisco Venegas, prepared psychological and military defenses. An intensive propaganda campaign had advertised insurgent violence in the Bajío region and stressed the insurgents' threat against social stability. Hidalgo's insurgency also faced opposition from sedentary natives and castes of the Valley of Mexico.

Hidalgo's forces came as close as what is now the Cuajimalpa borough of Mexico City. Allende wanted to press forward and attack the capital, but Hidalgo disagreed. Hidalgo's reasoning for this decision is unclear and has been debated by historians. One explanation is that Hidalgo's forces were undisciplined and had suffered heavy losses whenever they encountered trained troops. As the capital was guarded by some of the most trained soldiers in New Spain, Hidalgo decided to turn away from Mexico City and move to the north through Toluca and Ixtlahuaca with a destination of Guadalajara.

After turning back, many insurgents deserted. By the time he got to Aculco, just north of Toluca, his army had shrunk to 40,000 men. New Spain General Felix Calleja attacked Hidalgo's forces, defeating them on 7 November 1810. Allende decided to take the troops under his command to Guanajuato, instead of Guadalajara. Hidalgo arrived in Guadalajara on 26 November with more than 7,000 poorly armed troops. He initially occupied the city with lower-class support because Hidalgo promised to end slavery, tribute payment and taxes on alcohol and tobacco.

Hidalgo established an alternative government in Guadalajara with himself at the head and appointed two ministers. On 6 December 1810, Hidalgo issued a decree abolishing slavery, threatening those who did not comply with death. He abolished tribute payments that indigenous peoples had to pay to criollo and peninsular lords. He ordered the publication of a newspaper called Despertador Americano (American Wake Up Call). He named Pascacio Ortiz de Letona as representative of the insurgent government and sent him to the United States to seek support, but Ortiz de Letona was apprehended by the Spanish army and executed.

During this time, insurgent violence mounted in Guadalajara. Citizens loyal to the viceregal government were seized and executed. While indiscriminate looting was avoided, insurgents targeted properties of criollos and Spaniards, regardless of political affiliation. In the meantime, the royalist army had retaken Guanajuato, forcing Allende to flee to Guadalajara. After he arrived at the city, Allende again objected to Hidalgo concerning the insurgent violence. However, Hidalgo knew the royalist army was on its way to Guadalajara and wanted to stay on good terms with his own army.

After Guanajuato had been retaken by royalist forces, Bishop Manuel Abad y Queipo excommunicated Hidalgo and those following or helping him on 24 December 1810. Abad y Queipo had formerly been a friend of Hidalgo, but he was adamantly opposed to Hidalgo's tactics and the resultant disruptions, alleged "sacrileges" and purported ill-treatment of priests. The Inquisition pronounced an edict against Hidalgo, charging him with denying that God punishes sins in this world, doubting the authenticity of the Bible, denouncing the popes and Church government, allowing Jews not to convert to Christianity, denying the perpetual virginity of Mary, preaching that there was no hell, and adopting Lutheran doctrine with regard to the Eucharist. Hidalgo responded that he had never departed from Church doctrine in the slightest degree.

Royalist forces marched to Guadalajara, arriving in January 1811 with nearly 6,000 men. Allende and Abasolo wanted to concentrate their forces in the city and plan an escape route should they be defeated, but Hidalgo rejected this, deciding to make a stand at the Calderón Bridge (Puente de Calderón) just outside the city. Hidalgo had between 80,000 and 100,000 men and 95 cannons, but the better trained royalists decisively defeated the insurgent army, forcing Hidalgo to flee towards Aguascalientes. At Hacienda de Pabellón, on 25 January 1811, near the city of Aguascalientes, Allende and other insurgent leaders took military command away from Hidalgo, blaming him for their defeats. Hidalgo remained as head politically but with military command going to Allende.

The insurgent Army moved north towards Zacatecas and Saltillo with the goal of making connections in the United States for support. Hidalgo reached Saltillo, where he publicly resigned his military post and rejected a pardon offered by General José de la Cruz in the name of Venegas in return for Hidalgo's surrender. A short time later, they were betrayed and captured by royalist Ignacio Elizondo at the Wells of Baján (Norias de Baján) on 21 March 1811 and taken to Chihuahua.