Far-right candidate Jair Bolsonaro has won a sweeping victory in Brazil’s presidential election.
With nearly 95% of the vote counted, Mr Bolsonaro has 56% of the votes against 44% for Fernando Haddad from the left-wing Workers Party.
Mr Bolsonaro campaigned on a promise to eradicate corruption and to drive down Brazil’s high crime levels.
The election campaign has been deeply divisive. Each camp argued that victory for the other could destroy Brazil.
- What are Jair Bolsonaro’s policies?
- Jair Bolsonaro: Trump of the Tropics?
The result represents a marked right-wing swing in the country which was under military rule from 1964 to 1985.
Pointing to the number of former members of the military he surrounds himself with, his opponents argue that Mr Bolsonaro poses a risk to Brazil’s democracy.
Mr Bolsonaro also alienated many Brazilians with his homophobic, racist and misogynistic remarks.
But many of his supporters view him as a “saviour” who will make Brazil safer and who will stand for traditional values such as opposing the legalisation of abortion.
Some of those who cast their vote for Mr Bolsonaro on Sunday also said that they did so because they did not want to see the left-wing Workers’ Party return to power.