Claudia Lopez, a symbol of the fight against corruption in Colombia, on Sunday became the first woman to be elected mayor of the capital Bogota.
The 49-year-old center-left candidate, who is openly gay, won the local election with 35.2 percent of the vote ahead of liberal Carlos Fernando Galan (32.5 per cent) with almost all votes counted.
"Not only did we win but we're changing history," ex-senator Ms Lopez said on Twitter.
President Ivan Duque said the local elections around the country had attracted the "largest number of candidates in history." Ms Lopez's victory in the capital city of 7.2 million people is a significant step forward in a country used to being led by male liberal elites.
"Being a woman is not a fault, being a headstrong woman, firm... is not a fault. Being gay is not a fault, being a girl from a modest family is not a fault," Ms Lopez said last week.
More than 36 million voters were called to vote for mayors, governors and local assemblies, with more than 116,000 candidates to choose from, 37 per cent of whom were women. The elections were beset by violence in more than a quarter of municipalities, the electoral mission observatory said. Read more via SBS
¡Por fin ganamos!— Claudia López 👍 (@ClaudiaLopez) October 28, 2019
¡Hoy era el día de las niñas, de los jóvenes, las mujeres, las familias hechas a pulso como la suya y la mia!
Sabíamos que sólo si nos uníamos podíamos ganar. Y así lo hicimos: nos unimos, ganamos e hicimos historia. ¡Gracias Bogotá!#ClaudiaAlcaldesa pic.twitter.com/SHLZytYPyR