José María Velasco Ibarra nullified the Rio de Janeiro Protocol, which led to conflicts between Ecuador and Peru, including Paquisha in 1981 and the War of El Cenepa in 1995. Finally, in 1968 Velasco Ibarra won the presidency for a fifth time. This government ended abruptly on February 15, 1972, when once more he was deposed in a bloodless coup, which brought General Guillermo Rodríguez Lara to power. In total, Velasco Ibarra governed nearly 13 years, making him the longest-serving president in Ecuadorian history (although Rafael Correa's decade-long presidency from 2007 until 2017 is the longest continuous presidency). The events surrounding the end of
Juan Bautista Alvarado Echeandía overthrew his rule and replaced him with Pío de Jesús Pico near the end of 1831. Secularization of the missions resumed in 1833. In 1834 Alvarado was elected to the legislature as a delegate and appointed customs inspector in Monterey. Governor José Figueroa granted Rancho El Sur, two square leagues of land, or about , south of Monterey, to Alvarado on October 30, 1834. After Figueroa's death in September 1835, Nicolás Gutiérrez was appointed as interim governor in January 1836. He was replaced by Mariano Chico in April, but Chico was very unpopular. His intelligence agents told him that