CASTLE ROCK, Colo. (AP) — The younger of two students charged in a school shooting in suburban Denver that killed a classmate pleaded guilty on Friday.

Alec McKinney, 16, pleaded guilty to 17 felonies, including a first-degree murder charge, under a plea deal, the 18th Judicial District Attorney’s office said.

In December, a judge ruled that McKinney would be prosecuted as an adult in the May 7, 2019, shooting at STEM School Highlands Ranch that killed Kendrick Castillo, 18.

Devon Erickson, 19, has pleaded not guilty to the same charges McKinney faced in the shooting. Erickson’s lawyers have portrayed McKinney as the ringleader who pressured Erickson to participate.

Castillo was among the students who rushed Erickson after authorities say he pulled out his gun in a classroom.

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

Join our Newsletter for the latest news right to your inbox