Brazil: 'Difficult days ahead' for Lula da Silva as he tries to unite divided country
Brazil's Supreme Electoral Court's count showed it was a close contest - Mr da Silva polled 50.8% of votes compared with 49.2% for Mr Bolsonaro, with 98.8% of voting machines counted.
Please use Chrome browser for a more accessible video player
1:15
Sky's Stuart Ramsay reports from Sao Paulo where thousands of people are celebrating the 'remarkable comeback' of former president Luiz Inacio Lula da Silva as he narrowly beats Jair Bolsonaro in the Brazilian presidential election.