After the ruling party accepted defeat, Honduras appears to be on the verge of electing its first female president, Xiomara Castro.
Ms Castro, the left-wing Libre (Free) Party’s nominee, has a preliminary lead of about 20 percentage points over her opponent.
Her triumph will put an end to the right-wing National Party’s 12-year hegemony, which has been marred by scandals and allegations of corruption.
Ms Castro will succeed President Juan Orlando Hernández, who is known for his divisiveness.
After his brother Antonio was imprisoned in the United States for drug trafficking, he has been hounded by suspicions of ties to the drug trade.
Ms Castro has promised to “pull Honduras out of the abyss” of “a narco-dictatorship and corruption”.
Her husband, Manuel Zelaya, ruled the country from 2006 until 2009, when he was ousted by a coup. She ran for office twice before in the years following his removal from power.
Votes are still being counted and the electoral council is yet to formally declare the winner. However Tuesday’s concession of defeat by the governing party came two days after Ms Castro surged ahead in preliminary results.
Her main rival Nasry Asfura said on a local television broadcast that he had visited Ms Castro and her family.
“Now I want to say publicly that I congratulate her on her triumph and as president-elect,” Mr Asfura said, adding: “I wish that God will enlighten and guide her so that her administration will do the best for all of us Hondurans”.
The former first lady has promised big changes after taking office.
She inherits a country wracked by problems like violent crime, drug trafficking and large-scale migration to the US.
US Secretary of State Anthony Blinken has sent his congratulations, and said Washington is looking forward to working with her