BARTLESVILLE, Okla.  An Oklahoma high school student is in custody on charges he plotted to bomb and shoot students at the Bartlesville High School auditorium on the same day 26 people were shot and killed at an elementary school in Connecticut.

An arrest affidavit says Chavez tried to convince other students to help him lure students into the auditorium, chain the doors shut and start shooting. The Tulsa World reports that authorities say Chavez threatened to kill students who didn’t help.

The Bartlesville Examiner-Enterprise reports Chavez planned to detonate bombs at the doors as police arrived.

The school district says students were never in danger. Chavez is being held on $1 million bond.