In 1821, he joined the Plan of Iguala. He fought in the Texas War of Independence and for that he was appointed lieutenant. He fought in 1838 against the French invasion during the Pastry War. He also fought in the Mexican-American war and he was captured at the Battle of Resaca de la Palma on May 9, 1846.