A debate between President Lula and the Bolsonaro camp's candidate was held ahead of Brazil's run-off. The economy and security were the main topics.

Both sides made promises to voters, though opinion polls show only a narrow gap.

Observers say the result will be important in shaping the country's political future.

Source: Al Jazeera and other published reports — rewritten in our own words.