At the beginning of 1809, for Spain the situation was dark. Napoleon and his army of 250,000 men, the Grande Armée had thrown the balance on the Peninsula by crushing the English armies led by General John Moore. Fortunately, the declaration of war by the Austrian Empire, on January 6, 1809, made it necessary to mobilize with the bulk of the Grande Armée, leaving in its place the Lieutenant General of the Emperor in Spain and Marshal of France, Jean-de-Dieu Soult. , Duke of Dalmatia along with Marshal Michel Ney, Duke of Elchingen and Prince of Moscova, who was in charge of controlling the occupation in Asturias. But the situation worsened due to the Spanish guerrillas supported by the English supplies brought by sea.
In America, King Carlos visited most of the major Spanish cities around the middle of 1809. King Carlos at the same time decided to begin the creation of the Royal Military Colleges of Officers, Artillery and Navals destined to provide a nucleus of officers either for the infantry, artillery and the Spanish fleet. These measures were accompanied by a strong Creole youth element entering such military training centers, being nicknamed by King Carlos as "
Sus hijos guerreros americanos." Unfortunately, pro-Fernandino movements broke out in America. The First was led by the Priest Miguel Hidalgo y Costilla, which began in Dolores, in the Municipality of Guanajuato, on September 9, 1809.
On September 9, 1809, Priest Miguel Hidalgo y Costilla, was discovered being part of a conspiracy whose main objective was to constitute a governing board that would take power on behalf of Fernando VII. Using connections and ties in various local officials, they managed to free dozens of prisoners accused of sedition and arm them, the insurgents captured the delegate Rincón and went to the atrium of the parish of the town of Dolores. In that place, Hidalgo summoned the assistants to rise up against the bad government. Hidalgo harangued the population, an act that is known as
Grito de Dolores and is considered the beginning of the
Gran Guerra Hispana.
"Viva la religión católica!, ¡viva Fernando VII!, ¡viva la patria y reine por siempre en este continente americano nuestra sagrada patrona la santísima Virgen de Guadalupe!, ¡muera el mal gobierno!"
Under those words, the Rebel Priest achieved nearly thirty thousand people, a great majority of whom were poorly armed peasants with machetes and spears and poorly trained using basic human wave tactics. The only military element that supported the rebellion of Miguel Hidalgo was led by Ignacio Allende of the Provincial Regiment of Dragoons of the Queen along with other officers such as Mariano Abasolo. Accompanied by this troop, whose magnitude was one hundred dragons, they went first to Atotonilco, where they took the banner of the Virgin of Guadalupe, which was considered the emblem of the movement. There again Hidalgo harangued his troops, with the cry of
"¡Viva la Virgen de Guadalupe , viva Fernando VII!" The population responded
"¡Viva la América y mueran los gachupines!" The Gachupines were a derogatory nickname for the upstart Spanish peninsular. As the insurgents passed through the eastern towns of Guanajuato, miners and laborers from the neighboring estates joined forces, some few carried firearms, but most were armed with machetes, spears, sticks, clubs, slings and stones. On September 21, when they reached the outskirts of Celaya, their force was fifty thousand men. Followed by the dragons and the mass of the people, Hidalgo and Aldama marched at the head of the contingent holding a portrait of Fernando VII, marking Fernandina's loyalty to him. Upon reaching the city, a shot rang out and the mob began looting the city. The soldiers commanded by Aldama tried in vain to contain the action, getting to be beaten and one got to die from injuries.
In that town, after the looting and undisciplined execution of several Carlists loyalists, Miguel Hidalgo was appointed captain general, remaining in command of the army over Allende - who was undoubtedly more skilled in what refers to military tactics - who was assigned appointed lieutenant general. From Celaya, the insurgents headed northwest and on their way seized Salamanca, Irapuato, and Silao. When they reached the outskirts of Guanajuato, on September 28, the number of the rebels had increased considerably. Most of the urban upper classes of New Spain at first viewed the revolution led by Hidalgo favorably, but as it became clear that the insurgent leaders could not contain their followers, support faded further when the news that some Creole and Peninsular Carlist women were raped and murdered by the followers of Hidalgo even when he executed those allegedly responsible.
The mayor of Guanajuato, Juan Antonio Riaño, realized that most of the inhabitants of the town were miners who hoped to join the insurgent uprising, so he decided to take cover with six hundred men in the Alhóndiga de Granaditas, one of the buildings strongest and thickest in the city. He sent letters requesting military support to the King and nearby Generals. Hidalgo sent José Mariano Jiménez as an emissary given his old friendship with Riaño. Jose Mariano Jiménez, a miner without military training who asked Allende for permission to join the troops; Allende refused but Hidalgo decided to send him on a special mission to intimidate Riaño and request the surrender of the city of Guanajuato without violence.
“I do not see Europeans as enemies, but only as an obstacle that hinders the success of our company. Your Honor will serve to express these ideas to the Europeans who have gathered in that Alhóndiga, so that they can decide if they declare themselves as enemies or agree to remain as prisoners receiving humane and benign treatment, as those who bring us in our company, until the insinuated freedom and independence is achieved, in which case they will enter the class of citizens, remaining with the right to have the goods that for now, for the demands of the nation, we will serve ourselves. If, on the contrary, they do not agree to this request, I will apply all the forces and devices to destroy them, without leaving any hope of quarter. "
Riaño was a man born in Cantabria, and like many Northern Spaniards he was a man of the sea, as he participated in several naval battles and reached the rank of captain of a frigate but changed him to Lieutenant General. Upon receiving the letter from Hidalgo, he refused to accept the request, claiming to be a soldier of the King of Spain and recognizing King Carlos of Spain and then the Viceroy of New Spain as the sole authority; José Joaquín Vicente de Iturrigaray y Aróstegui. Upon hearing the response from his old friend, Hidalgo decided to initiate combat. Allende, Aldama, and Jiménez divided equally to besiege Guanajuato. At first they met no resistance; on the contrary they received support in money and soldiers. Some of his informants gave information on the military status of the fortress and the flow protected there. The combat began around eight o'clock in the morning, when the first shots were heard on the corn exchange. Riaño ordered Lieutenant Barceló, captain of the guard, to go up to the roof to face possible invasions. The mayor, meanwhile, remained on the ground floor resisting the insurgent sieges. Barceló, from above, counterattacked with bombs and rifle shots. Riaño saw that a victory for either side was impossible, while the royalists were deprived of any mobility, so he decided to go out with a handful of men. When one of the insurgent chiefs realized Riaño's presence, he ordered an attack on the Carlists chief, who, while trying to defend himself, perished. The soldiers who left with the mayor withdrew, taking the body with them.
Upon seeing the mayor dead, one of Riaño's advisers suggested to Lieutenant Barceló that he surrender, and that he, as second in command, should take charge of the situation. Barceló flatly refused, stating that it was a combat and that the military authority, which he represented, was superior to the civil authority at that time of war. However, Riaño's adviser obtained a white handkerchief and tied it to a rifle of a soldier who had died in combat. He began to wave his new peace flag and when the insurgents saw it they realized that the Spanish had decided to surrender. Hidalgo ordered a ceasefire and sent Allende to negotiate with the vanquished. Barceló killed the civilian who waved the flag when what was happening was discovered and went up to the roof to continue the shooting. The insurgents realized that they had been deceived and continued the fight. On the insurgent side, Hidalgo considered the possibility of taking over the building, but did not want to and did not have the resources, but it was then that Juan José de los Reyes Martínez, a miner from La Valenciana famous for his strength and nicknamed "
El Pípila", requested Hidalgo permission to set fire to the Alhóndiga door, which would allow the insurgents to enter it. After meditating it, the priest accepted and El Pípila launched into action. He carried a slab on his back as a shield, managing to set the door of the alhóndiga on fire to make way for the insurgents. After setting fire to the threshold (reinforced with iron plates) of the Alhóndiga, the rebels were able to enter it and began to slaughter and loot. Barceló and Riaño's son, both Carlist commanders, were killed by the mob. Also many Spaniards and Creoles of lineage were stripped of their belongings and suffered death at the hands of the multitudes. The looting of Guanajuato was not limited only to the Alhóndiga, but in the following days it spread to the city and the metropolitan area. Hidalgo prevented some of his soldiers from staining the body of his friend Riaño, and it was then that he realized the looting of the city.
The worst was when on October 1, Hidalgo was informed of the arrival of Brigadier Félix Calleja, who came with a division of cavalry, who came to the aid of Guanajuato but they were informed of the fate of the city and its inhabitants, so their mission changed. to avenge and eliminate the Fernandino Army.