FORT LAUDERDALE (CBS4) — The 16-year-old boy accused of nearly stomping to death a Deerfield Middle School student was back in court Thursday morning for the first time since August.

Wayne Treacy is charged as an adult in the March 17 beating of Josie Lou Ratley, which carries a maximum sentence of life in prison in the state of Florida. But in court Thursday, the prosecutor in the case agreed to cap his maximum sentence at 50-years, according to The Sun Sentinel.

READ MORE: CBS4 Investigates: Man Accused Of Killing Ryan Rogers Could Have Faced Two Decades In Prison For Prior Crime

The decision follows a recent U.S. Supreme Court ruling which states it is cruel and unusual punishment to give young criminals a life sentence without a chance for parole if they have not killed someone.

READ MORE: Glenneisha Darkins Perseveres During Art Week Despite Challenges

Treacy is charged with attempted murder.

Broward Circuit Judge David Haimes set Treacy’s next court hearing for March 31 and urged the attorneys to prepare the case for trial.

MORE NEWS: New Warning For Parents Regarding Omicron COVID-19 Variant

Ratley, now 16, was left brain damaged in the attack and continues her rehabilitation at home.