Jose de San Martin was a military commander who ruled over all southern south america, after claiming independence from the Spanish empire in 1821.
Jose de San martin spent most of his youth in Spain as a career for military officer. later on he fought with Spanish forces against napoleon, he returned to Latin america to be apart of its liberation.
http://coachalexanderworldhistory.weebly.com/uploads/5/0/7/5/50756739/4_latin_american_revolutions.pdf