Brazilian President Dilma Rousseff was reelected by the narrowest margin in three decades, handing her left-leaning Workers’ Party its weakest mandate as it confronts some of the country’s biggest challenges in years.

After scraping by with 51.6 percent of the vote in a runoff against center-right challenger Aecio Neves on Sunday, Rousseff spoke of national reconciliation as she seeks to restart a stagnant economy, push political reform through a fragmented congress where she now has less support, and respond to widespread popular demands to improve woeful public services. These frustrations sparked angry street demonstrations just a year ago.