Brazil has taken a turn to the left as former president Luiz Inácio Lula da Silva beat far-right incumbent Jair Bolsonaro in the presidential election.
After a divisive campaign which saw two bitter rivals on opposite sides of the political spectrum go head to head, Lula won 50.9% of the votes.
It was enough to beat Jair Bolsonaro, whose supporters had been confident of victory.
But the division which this election has highlighted is unlikely to vanish.
It is a stunning comeback for a politician who could not run in the last presidential election in 2018 because he was in jail and banned from standing for office.
He had been found guilty of receiving a bribe from a Brazilian construction firm in return for contracts with Brazil’s state oil company Petrobras