Task: Text Categorization
Input (English): One president of this country was scandalized when he allowed the warship Esmerelda to fly its flag. That leader was succeeded by a man known as the "Old Battler," Eloy Alfaro, who led the liberal revolution here in opposition to Gabriel Garcia Moreno; both of those leaders were assassinated and journalist Juan Montalvo bragged that his pen killed the latter. The populist Jose Velasco Ibarra served as its president five times in the 20th century. Its independence came with the defeat of the general Melchor Aymerich by Sucre in 1822 at the Battle of Pichincha, after which it briefly became the southern district of Gran Colombia. More recently, its leaders have resolved border disputes with neighboring president Alberto Fujimori. FTP, name this South American country home to Cotopaxi, Guayaquil, and Quito.
Output (English): History