Salvadorans on Sunday elected Nayib Bukele, the popular former mayor of San Salvador, as the Central American country's new president - a result that ends the near 30-year grip on power of its two largest parties.
The country's Supreme Electoral Tribunal (TSE) awarded him 53.78 percent of votes with 87.67 percent counted - a lead it considered "irreversible."
The 37-year-old president-elect, of the conservative Grand Alliance for National Unity (GANA) party, wore jeans and a leather jacket as he celebrated with supporters - thousands chanting his name and waving flags in the capital's central Plaza Morazan.
"It's a victory for the Salvadoran people, today we won in the first round and we have made history," said Bukele, who despite being a firm favorite was expected to face a second round of voting.
He has promised to increase investment in education and fight corruption - but his main task will be to confront insecurity in a country ravaged by gang violence.
He will also have to form an alliance with the rightwing opposition, which dominates congress, and govern with them until at least 2021 when the next legislative elections are held.