Following this triumph over the Spanish monarchy, Bolívar participated in the foundation of the first union of independent nations in Latin America, Gran Colombia, of which he was president from 1819 to 1830. Through further military campaigns, he ousted Spanish rulers from Ecuador, Peru, and Bolivia (which was named after him). He was simultaneously president of Gran Colombia (current Venezuela, Colombia, Panamá and Ecuador) and Peru, while his second in command Antonio José de Sucre was appointed president of Bolivia. He aimed at a strong and united Spanish America able to cope not only with the threats emanating from Spain and the European Holy Alliance but also with the emerging power of the United States. At the peak of his power, Bolívar ruled over a vast territory from the Argentine border to the Caribbean Sea.
Bolívar is, along with Argentine General José de San Martín, considered one of the great heroes of the Hispanic independence movements of the early 19th century.