Colombians on Sunday elected ex-guerilla fighter and former Bogotá mayor Gustavo Petro as the country's first leftist president in history.

With the human-rights and environmental activist and lawyer Francia Márquez as his running mate, Petro, 62, a former fighter with the demobilized M-19 militia, will govern from Aug. 7 for 2022-2026 as the successor of President Iván Duque.

Petro, of the left-wing Pacto Historico coalition, obtained 11,281,013 votes (50.44 percent), an advantage of 700,601 over his rival, the independent populist Rodolfo Hernández, who received 10,580,412 votes (47.31 percent).