Honduras' electoral court has officially declared ruling party candidate Juan Orlando Hernandez the winner of Sunday's presidential election, with nearly 90 percent of the vote counted.

The electoral court says Hernandez got 35 percent of the votes to 29 percent for his closest challenger in an eight-candidate field, Xiomara Castro. The body already had said Monday that Hernandez held an irreversible lead in the count.

Castro reacted to Wednesday's declaration by saying that there was fraud in the election and that she will present the evidence Friday.

Her husband, former President Manuel Zelaya, was ousted in a 2009 coup, and her campaign was considered his attempt at a political comeback. Castro declared herself the winner Sunday. The two have said they don't accept the official results.