During and after the 2022 Brazilian general election, a network of members of former president Jair Bolsonaro's government and of the Brazilian Armed Forces planned to subvert the transition of power to newly elected president Luiz Inácio Lula da Silva, arrest Supreme Federal Court (STF) justice Alexandre de Moraes and Rodrigo Pacheco (the president of the Federal Senate), and shut down several government institutions, such as the National Congress, the Superior Electoral Court and the STF, in an attempt to keep Bolsonaro in power and consolidate his control over the federal government. The plans, evidence, and individuals involved in planning a coup d'état were gradually revealed in investigations conducted by public agencies and the press in 2023 and 2024.
After the 8 January Brasília attacks, more than 1,400 people were charged for their alleged role in the riots. Valdemar Costa Neto, head of the Liberal Party, and three aides to Bolsonaro were arrested on 8 February 2024. On 21 November 2024, the Federal Police formally accused Bolsonaro and 36 people of an attempt to overthrow Brazil's democratic institutions, including a plot to assassinate Lula, Vice President-elect Geraldo Alckmin and Supreme Court Justice Moraes. On 14 December 2024, Bolsonaro's 2022 running mate and former Chief of Staff, Walter Braga Netto, was arrested. Braga Netto, who was also a former general in the Brazilian Army, was considered a prominent figure in the coup plot. On 18 February 2025, Attorney General Paulo Gonet formally indicted Bolsonaro and 34 others for an attempted coup d'état. On 26 March, the Supreme Court accepted the Attorney General's complaint and considered Bolsonaro and seven other allies as defendants in the case.