LANSING, Mich. (CBS DETROIT/ AP) — A deal has been reached by Michigan lawmakers to no longer automatically treat 17-year-old criminal defendants as adults.

Michigan is among just four states whose default is to treat 17-year-olds as adults in criminal proceedings.

READ MORE: City Of Saginaw To Resume Water Shutoffs, Collection Efforts In July

A Senate committee passed compromise bills on Thursday, setting the stage for the legislation to go to Gov. Gretchen Whitmer’s desk in coming weeks.

READ MORE: Suspect Wounded By Police During Shootout In Detroit

The House and Senate had passed bills earlier this year, but there were some sticking points largely over funding.

Those in support say raising the age to 18 ensures young offenders get fairer sentences and have a better opportunity to be rehabilitated.

MORE NEWS: Skubal Strikes Out 11 As Tigers Top Orioles

© 2019 CBS Broadcasting Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this story.