EDIT: Updated with better link from comment below.

A 22-year-old San Antonio man was arrested and charged with a felony after investigators say he used an AI chatbot to plan a mass shooting at a local elementary school, according to an arrest affidavit obtained by the San Antonio Express-News

Nathaniel Michael Carrasco, of San Antonio, was using an Anthropic AI chatbot on Aug. 11 when he began discussing plans to obtain a firearm and carry out the attack at Serna Elementary School, near his home.

“I’m getting a gun as soon as I can, and when Serna Elementary starts, I’m just gonna walk in there and start shooting up kids,” Carrasco wrote in one prompt, according to the Express-News.