Brazil’s federal police have traced a detailed plan for a military intervention to prevent the handover of power after last year’s presidential election to the phone of an associate of far-right former president Jair Bolsonaro, according to Veja magazine.

It is unclear who wrote the document and whether it ever reached the hands of Bolsonaro, who was defeated in October’s election by leftist Luis Inacio Lula da Silva.

A similar but less detailed document was found in January at the home of former Justice Secretary Anderson Torres, a sign that some of Bolsonaro’s close associates were looking for ways to prevent Lula from taking power and to dismantle the powers of federal courts.

According to the magazine, a police document shows the plan was found on the phone of Lt. Col. Mauro Cid, Bolsonaro’s personal aide who remained in his service after his election loss. Sid was subsequently arrested as part of an investigation into the alleged forgery of Bolsonaro’s Covid-19 vaccination card.

Sid’s lawyer, Bernardo Fenelon, did not respond to a request for comment on the development.

Veja writes that the three-page document outlines a “roadmap” for how they would block Lula’s inauguration, using the military as a “mediating force.” The unconstitutional actions of the judiciary and the media in favor of Lula would be invoked to justify this encroachment on institutions. An “ombudsman” would then be appointed, with authority over the armed forces and all federal security agencies. The “delinquent” justices of the Supreme Court and the federal Electoral Court would be removed and replaced. The new Electoral Court would oversee new elections which would be held only after the military decided that constitutional order had been restored.

The Brazilian military announced that any “opinions and personal comments do not reflect the views of (…) the command hierarchy, nor the official position” of the armed forces.