Leftist candidate Pedro Castillo has won the most votes in Peru's close-run presidential run-off election.
With all ballots now counted, Mr Castillo has just over 50% of the votes - 44,000 more than right-wing contender Keiko Fujimori.
But Mr Castillo cannot be declared the winner until electoral authorities have finished processing a slew of legal challenges brought by Ms Fujimori.
She has claimed electoral fraud, but has not provided any detailed evidence.
Electoral observers, including the Organisation of American States, have said they have found no irregularities. Castillo's Free Peru party has also rejected accusations of fraud.
More than 18.8 million Peruvians cast their votes in this year's race - a turnout of nearly 75%. Observers have said it could take weeks to deliberate over Ms Fujimori's legal challenges and formally announce a winner.