Dilma Rousseff has been re-elected president of Brazil, after securing more than 51% of votes in the closest election race in many years, the BBC reports.
An official count showed her rival, centrist candidate Aecio Neves, taking just over 48% of the vote.
In her victory speech, Ms Rousseff said she wanted to be “a much better president than I have been until now”.
She faced protests last year against corruption, record spending on the football World Cup and poor services.
Ms Rousseff, who has been in power since 2010, is popular with poor Brazilians thanks to her government’s welfare programmes.