BOGOTÁ, Colombia — For the first time, Colombia will have a leftist president.
Gustavo Petro, a former rebel and a longtime legislator, won Colombia’s presidential election on Sunday, galvanizing voters frustrated by decades of poverty and inequality under conservative leaders, with promises to expand social programs, tax the wealthy and move away from an economy he has called overly reliant on fossil fuels.
His victory sets the third largest nation in Latin America on a sharply uncertain path, just as it faces rising poverty and violence that have sent record numbers of Colombians to the United States border; high levels of deforestation in the Colombian Amazon, a key buffer against climate change; and a growing distrust of key democratic institutions, which has become a trend in the region.
Mr. Petro, 62, received more than 50 percent of the vote, with more than 99 percent counted Sunday evening. His opponent, Rodolfo Hernández, a construction magnate who had energized the country with a scorched-earth anti-corruption platform, won just over 47 percent.
part of a different rebel group, called the M-19, which demobilized in 1990, and became a political party that helped rewrite the country’s constitution. Eventually, Mr. Petro became a forceful leader in the country’s opposition, known for denouncing human rights abuses and corruption.