 From a comfortable and distinguished family, José Mariano Michelena attended the University of Mexico, graduating as a lawyer.In 1806 he enlisted in the infantry regiment La Corona, with the rank of lieutenant.In the encampment at Jalapa (Veracruz), he became friends with Ignacio Allende, Juan Aldama and other New Spanish military officers who later joined the insurgency against Spain.