A 22-year-old Ohio man admitted in federal court Tuesday that he planned a mass shooting at Ohio State University, officials said.

Tres Genco pleaded guilty to one count of attempting to commit a hate crime, which carries a possible life sentence because the plot involved an attempt to kill, according to prosecutors.

Officials said Genco identified as an “Incel,” short for involuntarily celibate.

“The Incel movement is an online community of predominantly men who harbor anger towards women,” the U.S. Attorney’s Office said in a news release announcing the plea. “Incels advocate violence in support of their belief that women unjustly deny them sexual or romantic attention to which they believe they are entitled.”

In March 2020, the Highland County Sheriff’s Department was called to Genco’s home, according to court documents. Someone reported Genco had barricaded himself in his room with a gun, and the person was worried he might hurt himself or planned to hurt others.

Mass killings: Mass killings database reveals trends, details and anguish in every US event since 2006

School shootings: Shots fired in US schools spiked dramatically last year, gun violence report finds

After getting Genco to surrender, investigators said they found an AR-15-style rifle with a bump-stock and Glock pistol modified to fire fully automatically with no serial number. As part of his plea, prosecutors said, Genco admitted he possessed those weapons as part of his plot.

Investigators said they also found many writings dating back to at least 2019. Genco wrote a memoir in which he said he would “slaughter” women “out of hatred, jealousy and revenge,” and referred to death as the “great equalizer,” prosecutors say.

Genco wrote a note indicating he hoped to kill as many as 3,000 people, prosecutors said. They added he attended Army basic training in Georgia from August through December 2019, though he was discharged.