As the first unofficial results for the local elections in Ecuador came in, it appeared that the ruling party, PAIS Alliance, had suffered a defeat, losing the races for mayor in at least the country's two major cities [es]. In Quito, the capital, Mauricio Rodas [es] of the SUMA-Vive party beat the PAIS Alliance incumbent, Augusto Barrera, by almost twenty percent of the vote. In Guayaquil, the largest city, current mayor Jaime Nebot will be entering his fourth term in office, having beaten PAIS Alliance candidate Viviana Bonila [es] by twenty-three percent. Gráfico de exit poll de Market para alcaldía de Guayaquil y Quito. #eleccionesEC pic.twitter.com/QNDTPwAtBA — El Universo (@eluniversocom) February 23, 2014 Graph of a Market exit poll for the Quito and Guayaquil mayoral elections Further results confirmed and compounded the government's loss. PAIS Alliance's mayoral candidates were rejected by voters in all of Ecuador's five largest cities [es] — Guayaquil, Quito, Cuenca, Manta, and Santo Domingo — not to speak of their defeats in smaller municipalities. Twitter was alight with reflections on the reasons for PAIS Alliance's loss: AP pierde en Quito porque pusieron a ministros, asambleístas y acólitos a fustigar y confrontar a ciudadanos por pensar diferente. — JoseM De Oliveira (@chemadeoliveira) February 23, 2014 AP [abbreviation for Alianza PAIS or PAIS Alliance] lost because they made its ministers, Assembly members and acolytes criticize and confront citizens for thinking differently. Quito no pierde nada.. Empieza a ganar su espacio libre de la política sucia que empieza a hacer AP.. Recuerda eso #Burrera — Christian Efrain (@smileceam) February 23, 2014 Quito hasn't lost anything… It's gaining a space free from the sort of dirty politics that AP practices… Remember that. Actualización: AP pierde Gquil, Quito, Cuenca, Machala, Manta, Portoviejo, Loja, Duran, Milagro y Ambato. La soberbia fue castigada. — Andres Z. (@andzambrano) February 23, 2014 Update: AP has lost Guayaquil, Quito, Cuenca, Machala, Manta, Portoviejo, Loja, Duran, Milagro and Ambato. A slap to their pride. Grandes lecciones para Rafael Correa; 1 No es invencible 2 La publicidad no es todo 3 La prepotencia es negativa. 4 La patria chica existe — Henry Raad (@HenryRaad) February 23, 2014 Big lessons for Rafael Correa [president of Ecuador]: (1) You aren't invincible, (2) Publicity isn't everything, (3) Arrogance is a bad thing, (4) Don't forget about the patria chica [home regions or hometowns] Although shortly before the elections President Correa could boast a high approval rating [es], it seems that his personal involvement in the campaign, especially in Quito, had a counterproductive effect. Correa accepted [es] the results and declared [es] to the newspaper El Comercio that three errors had been committed in the campaign: “First, being associated with poorly performing municipal administrations; second, the form that campaigning took on as the race progressed; and third, the sectarianism of government attitudes.” But not everyone agreed on Twitter: El presidente Rafael Correa identifica 3 errores en Quito: en la Alcaldía, en la campaña y en la actitud sectarista. ¿Y su intervención? — Dimitri Barreto (@ECdimitri) February 24, 2014 President Rafael Correa identified three mistakes in Quito: with the mayoralty, with the campaign, and with the sectarian attitude. And what about his intervention? Lecciones para Correa: 1. La simpatia y los votos NO siempre son endosables. 2. Los errores se pagan caro 3. El pueblo castiga en las urnas — Alfredo Carranza C. (@AlfCarranza) February 24, 2014 Lessons for Correa: 1. Likeability and votes can't always be bestowed by endorsement. 2. Errors are expensive. 3. The people deal out punishment with the ballot box. However, PAIS Alliance didn't lose everywhere. In the elections for provincial prefects, for example, PAIS Alliance won eleven prefectures [es] out of twenty-three, two more than at the last elections in 2009. There is still not complete data on the winners of all mayoral races in Ecuador, but it is expected [es] that PAIS Alliance will end up with the highest share of mayors in the country. #EleccionesEC así avanza el conteo para PREFECTURAS. pic.twitter.com/VdIEKAztiQ — Vinicio Macas (@MacasEspinosa) February 24, 2014 Here's how the tally is progressing for the prefectures The elections generally unfolded quite tranquilly, excepting a few scattered incidents [es]. The National Electoral Council's problems with its rapid counting system [es] and with the updating of election data caused frustration, as these issues impeded the calculation and publication of accurate results for cities across the country.