Follow KDKA-TV: Facebook | Twitter

GREENSBURG, Pa. (AP) – A prosecutor and defense attorney say plea negotiations are occurring in the case of a now-20-year-old charged with stabbing 20 fellow students and a security guard at his suburban Pittsburgh high school.

READ MORE: State Courts Warn Of Phone Scam Pretending To Be 'Administrative Office Of Pa. Courts'

Defense attorney Patrick Thomassey told the Tribune-Review Wednesday there is a “good chance” the charges against Alex Hribal will be resolved before his trial, which is scheduled to begin Nov. 13.

Hribal faces 21 counts each of attempted homicide and aggravated assault, plus a weapons charge, for slashing his way through the hallways of Franklin Regional High School in Murrysville before classes began on April 9, 2014.

READ MORE: Tax Day: Understanding The Extended Tax Deadline In Pennsylvania

Thomassey acknowledges Hribal committed the crimes and tried to have his client declared legally insane, but failed to convince a judge of that.

Westmoreland County District Attorney John Peck confirmed the plea discussions.

MORE NEWS: Pittsburgh Weather: Colder Temperatures Move In Today, Chance For Afternoon Rain

(Copyright 2017 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)