Far-right candidate Jair Bolsonaro has won a sweeping victory in Brazil's presidential election.

With almost all of the votes counted, Mr Bolsonaro has 55% of the votes against 45% 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.

Pointing to the number of former members of the military he surrounds himself with and the nostalgia he has expressed for the era that Brazil was under military rule, his opponents argue that Mr Bolsonaro poses a risk to Brazil's democracy.

But in his victory speech the president-elect said that he would defend "the constitution, democracy and freedom".

"This is not the promise of a party, nor the word of a man. It is an oath before God," he said.

I can officially say the President of Brazil tweeted out one of my articles (which was translated into Portuguese by independent media site RENOVA Media):