The IT specialist of the Air National Guard wanted, in his own words, “to slaughter the weak-willed”. Prosecutors said he also inquired about which guns would work best while seated in an SUV and did online research into fatal gun attacks.

According to the information, the 21-year-old had hoarded a large arsenal of weapons, including rifles, semi-automatic firearms and a bazooka. He was suspended from the school in 2018 for “remarks about weapons, including Molotov cocktails, firearms at the school and racist threats”.

The court document was released ahead of a hearing in Worcester, Massachusetts, about a National Guard’s possible release on bail. The public prosecutor’s office demanded that the detention be continued until the trial.

She also argued that Teixeira could still have access to secret documents and try to flee with the help of “enemy” states. He represents a “continued risk” to US national security. The judge plans to announce his decision at a later date.

Teixeira is accused of being responsible for one of the most momentous releases of secret US documents in recent years. He is said to have shared the photographed documents in a group he led on the Discord online platform. Many of the documents related to the Russian war of aggression against Ukraine. Other documents suggested the US was spying on allies like Israel and South Korea.