After a first round of voting, Brazilians will head back to the polls at the end of the month to choose their next president. Why is this election so important?
â€śThese are being billed as the most important since the country returned to democracy in 1989.â€ťBBC News
In the first round of Brazilâ€™s presidential election there were two frontrunners in a field of 11 candidates.
Brazilâ€™s current president, Jair Bolsonaro, and a man who led the country from 2003 until 2010.
â€śThe leading contender is the former leader Luis Inancio Lula da Silva, he first came to power 20 years agoâ€¦â€ťBBC News
But when the results came out, the race was much closer than the opinion polls had suggested.Â Â Â
Jair Bolsonaro won 43 per cent of the votes, while Lula won 48 per cent.Â
Both candidates claimed it as a victory.Â
And now the arch-rivals will go head to head in a run off at the end of the month.
So the choice for Brazilians is this: keep Jair Bolsonaro, a former army captain and right-wing populist, in powerâ€¦ or elect a former union leader who also has experience as president.Â
Jair Bolsonaro is popular with evangelical Christians, farmers and soldiers.
Lula is popular with the left, who are tired of the drop in living standards since he left office.Â
So, what would each choice mean for Brazil?
â€śItâ€™s bigger than a new year, bigger than a new world cup, politically for Brazil, itâ€™s a new era that beginsâ€¦â€ťFrance 24 News
Nearly two decades ago, Lula became the countryâ€™s first working-class president.Â
He enjoyed eight years in power and during that time Brazil profited from a commodities boom, which meant he was able to lift millions of people out of poverty, and put Brazil firmly on the world stage.
â€śThe executive committee has decided unanimously to give the responsibility to organise FIFAâ€™s World Cup 2014 to the countryâ€¦ Brazil!â€ťBrazil announced as host country for the 2014 World Cup
â€śI have the honour to announce that the Games of the 31st Olympiad are awarded to the city ofâ€¦ Rio de Janeiro!â€ťRio de Janeiro announced as host city for the 2016 Olympic Games
Winning the chance to host these two major sporting events were huge wins for Brazil, and for Lula, who Barack Obama hailed as â€śthe most popular president on Earthâ€ť.Â
When he left power in 2010, his approval rating was nearly 80 per cent.
But for Lulaâ€™s Workersâ€™ Party, the following decade was bleak. Brazil fell into a recession and his successor, Dilma Rousseff, was impeached in 2016. The country became embroiled in â€śOperation Car Washâ€ť, one of the worldâ€™s largest corruption scandals.
â€śBillions of dollars in bribes, hundreds of thousands of jobs lost, and hundreds of executives, politicians and officials implicatedâ€¦â€ťFinancial Times
Investigators uncovered a bribery scheme on the Workers Partyâ€™s watch, and Lula was caught up in it.
â€śLula was convicted of accepting a beachside apartment from an engineering firm vying for contracts at the state oil company Petrobras, but many of Lulaâ€™s supporters say the conviction was politically motivated.â€ťDemocracy Now!
Originally sentenced to more than 12 years in prison, Lula walked free after 18 months, where he was greeted by crowds in red t-shirts and caps, waving the flag of the Workers Party.
[Clip: crowds greeting Lula outside prison]
And it seems that Lula, now aged 76, spent his time in prison carefully plotting his comeback.
This election comes at a time of tension for Brazil.
Rising food prices are pushing more people into poverty. People are hungry. Sao Paulo alone has around 30,000 rough sleepers, a 30 per cent increase since 2019.Â
And Jair Bolsonaro is facing criminal charges over his alleged mishandling of the Covid-19 pandemic after more than 600,000 people died.Â
Then thereâ€™s the fate of the Amazon rainforest.
Jair Bolsonaro says parts of the Amazon should be opened up to economic exploitation, and climate activists have warned that if heâ€™s re-elected, the rainforest could reach a tipping point.
â€śHe has slashed environmental protections, he has also supported the agribusiness industry whilst also turning a blinding eye to the colonisation of the forest and all of that has led to massive rates of deforestation.â€ťFrance 24 News
While Lula has said heâ€™ll protect the Amazonâ€¦
â€śIf Lula wins the election and becomes the new president, forest destruction in the Amazon could fall by 90 per cent in the next 10 years.â€ťFrance 24 News
But his own environmental record is still far from perfect.
Jair Bolsonaro has already hinted that he wonâ€™t accept defeat.
Heâ€™s cast doubt over Brazilâ€™s electronic voting system, suggesting itâ€™s open to fraud, raising concerns of a Trump-like insurrection if Lula wins.Â
For the next month, Brazilians can expect the pair to trade insults as they fight for the presidency, while the rest of us wait to see what happens in one of the worldâ€™s largest economies.
This episode was written and mixed by Imy Harper.
Secrets and lies
Two young children make horrific allegations in a London police station, lighting the fuse on one of the most serious British conspiracy theories in decades