As president of Brazil, Jair Bolsonaro was often called the Trump of the Tropics, an association the Bolsonaro family actively cultivated. From the moment he was elected in 2018, he loudly celebrated the United States — in his first year in office, he even saluted the U.S. flag — but he saved his most intense loyalty for one American. When he met President Trump at the United Nations in 2019, he told him: “I love you.”

Before assuming power, Bolsonaro was an anti-democratic ideologue and former military man with a decades-long career in politics; Trump was a real estate developer and a media personality. But over the six years that Bolsonaro drove the news cycles in Latin America’s largest nation, he gave journalists a long list of reasons to equate the two men. Both made a show of praising authoritarian leaders, past and present, and liked to style themselves as defenders of law and order while acting as if the rules didn’t apply to them. Both formed an alliance with the religious right late in their careers and enlisted their sons to help push their respective agendas. Both frequently took to Twitter to attack their enemies, troll traditional media and rile up their supporters. And both retreated to Florida when things got tough.

For decades, the Brazilian right had looked to the United States, and when Donald Trump began to transform the rules of political discourse, it took note. “We learned to have the courage to speak up,” says Damares Alves, an evangelical pastor who served as Bolsonaro’s minister of human rights, families and women. “We began to be more incisive on the question of abortion. We learned we could be more direct about the question of arming the population. We realized we could take a tougher stand against the left-wing transformation taking place across our continent.”

As president, Bolsonaro seemed eager to import as much of the MAGA movement to Brazil as possible. So when Trump supporters attacked the U.S. Capitol on Jan. 6, 2021, to protest a “stolen” election, many Brazilians worried that Bolsonaro supporters might try something similar. That’s exactly what happened. On Jan. 1, 2023, when Bolsonaro’s opponent, Luiz Inácio Lula da Silva, leader of the left-wing Workers’ Party, took office, Bolsonaro skipped the ceremony, holing up instead in the Orlando suburbs, at the home of a mixed-martial-arts fighter. For weeks, Bolsonaristas had been camping out around the country, under banners calling for an “intervention.” In an echo of Jan. 6, they chose Jan. 8 to occupy and attack government buildings in the capital, Brasília, even though the transition had already taken place and the buildings were largely empty. Military police officers arrested more than 1,000 people, and Lula quickly reasserted control of the country.