 In his youth he joined the regiment of Volunteers of Aragon, eventually acquiring the title of major.During his years in the military, he was sent to Cuba and Mexico City.There he distinguished himself by his ability as a military strategist and was appointed captain for the Northern Territory to exercise dominion in the region.