Brazil has elected a president. Lula defeated Bolsonaro after a fierce rivalry

After counting over 98% of votes, Brazil's Electoral Court declared the presidential elections mathematically resolved. Incumbent President Luiz Inácio Lula da Silva secured 51.77% of the votes against Flávio Bolsonaro's 48.23%, with a margin exceeding 4.3 million votes. Lula's victory surprised many, defying pre-election polls that favored Bolsonaro. Higher voter turnout contributed to Lula's win, marking his fourth term. Both candidates requested extended voting hours due to transportation issues affecting voter access. Ultimately, voting was extended by two hours nationwide, although some polling stations closed as originally scheduled, causing confusion. The elections are pivotal for Brazil's political landscape and international relations, particularly regarding cooperation with the US, China, and Europe, as well as environmental policies.