In 1882 insurgents rose up against the regime of dictator Ignacio de Veintimilla. However, this did not end the violence that was occurring throughout the country. On 9 July 1883 the liberal commander Eloy Alfaro participated in the Battle of Guayaquil, and after further conflict he became the president of Ecuador on 4 September 1895. Upon completing his second term in 1911, he moved to Europe. He returned to Ecuador in 1912 and attempted to return to power unsuccessfully; he was arrested on 28 January 1912, and imprisoned, then lynched by a mob that stormed the prison. His body was dragged through the streets of Quito to a city park, where it was burned.