A 19-year-old accused of shooting a school resource officer during a scuffle at a Kansas high school pleaded not guilty and was bound over for trial.

Jaylon Elmore entered his plea Monday during a preliminary hearing on charges of attempted capital murder, felony possession of a firearm and two counts of criminal use of a weapon.

Elmore is accused of shooting school resource officer Erik Clark in the March 4 shooting in the assistant principal's office at Olathe East High School.

KANSAS SCHOOL SHOOTING: SUSPECT DETAINED AFTER RESOURCE OFFICER, ADMINISTRATOR SHOT

Prosecutors allege Elmore, who was a senior at the time, was called to the office when he refused to allow school officials to search his backpack after reports that he had a gun.

Kansas Fox News graphic

A Kansas student allegedly shot a school resources officer at his high school. He pleaded not guilty to charges including capital murder and two counts of criminal use of a weapon.

COPS: KANSAS SCHOOL SHOOTING FOILED AFTER MYSPACE MESSAGES INTERCEPTED

Clark and Elmore shot each other during the scuffle, according to court documents. The assistant principal was hit by bullets "most likely" shot by Clark during the confrontation, investigators said.

Both men survived their injuries and were released shortly after the shooting. Elmore was hospitalized in critical condition for several months.

CLICK HERE TO GET THE FOX NEWS APP

Elmore's scheduling trial is set for April 10. He is being held on $1 million bond, The Kansas City Star reported.