Protests were growing in Honduras as incumbent President Juan Orlando Hernandez emerged with a slim lead Thursday for re-election following a reported computer glitch that shut down vote counting for several hours.
Challenger Salvador Nasralla has alleged fraud and said he won't respect the official results. He's watched an initial five-point lead diminish in recent days as official results have trickled out.
By early Thursday, Hernandez was ahead by about 22,000 votes, with about 88 percent of Sunday's votes processed. He had 42.4 percent of the vote to Nasralla's 41.7 percent.
Opposition supporters protested through the night outside the electoral court's facilities, setting up some highway roadblocks and lighting fires in the streets. Police responded with tear gas as calls to maintain calm were increasingly unheeded.
Nasralla via Twitter asked his supporters to continue to protest peacefully and not be provoked into violence.
Court president David Matamoros said complete results will be available Thursday afternoon.
Both candidates have declared themselves the winner. Late Wednesday, Nasralla disavowed an agreement he and Hernandez had signed with the Organization of American States to respect the official results.
"I signed that document before the electoral court's computing center went down, and that was a trap," Nasralla said at a news conference. "The agreement with the OAS was to respect trustworthy results without alterations ... and the court has altered the documents in the last two days. That is unacceptable."
Hernandez said he would respect the result and called for calm while the final votes were counted.
Matamoros said the computer problem was resolved and did not affect the vote.