José Gabriel de Armijo (1774–1830) was a Spanish and Mexican military commander of caudillo origin known for his role in the Mexican War of Independence.
José Gabriel was born in San Nicolás de Tierranueva, San Luis Potosí in 1774. On 16 October 1795, he enters the historical chronicle when he joined the militia of the State of San Luis Potosí as a dragoon sergeant.
He later was a part of the military corps under the command of General Félix María Calleja del Rey, who would later become Viceroy of New Spain, at the outbreak of the Mexican War of Independence. Under Calleja's command, Armijo participated in the Battle of Aculco, the Battle of Guanajuato and the Battle of the Puente de Calderón.
He went on to gain his own command within the Spanish royalist army until the formal independence of Mexico. In 1812, he again served in Calleja's army commanding forces at the Siege of Cuautla.
On 30 September 1818, the fought against the Mexican rebels under the command of future Mexican president Vicente Guerrero at the Battle of the Cerro de Barrabás, a Spanish defeat.
In 1821, he signed on to the Plan of Iguala and joined the Army of the Three Guarantees. During the First Mexican Empire, he fought in the Battle of Almolonga on the side of Agustin de Iturbide and the imperialists against the republican rebels. In this battle, he defeated the rebel army under the command of his old adversaries, Vicente Guerrero and Nicolás Bravo