DENVER (AP) – New limits on solitary confinement for Colorado’s juvenile offenders are headed to the governor’s desk.

Lawmakers agreed Monday on a measure to make it harder to use solitary confinement in state-run juvenile facilities.

READ MORE: Denver Police Search For Suspect Driver In Deadly Hit & Run That Killed Pedestrian

The bill limits the use of solitary confinement to four hours without approval of the head of the state Division of Youth Corrections. The practice could be used more than eight hours only if there’s a court order. Staff must check on the youth every 15 minutes.

The bill also requires juvenile facilities to track the race, age and gender of youths held in solitary.

READ MORE: Trevor Woodruff Identified As Suspect In Deadly Shooting Outside Of Walgreens

President Barack Obama in January called for a ban on putting juveniles housed in the federal prison system in solitary confinement.

LINK: House Bill 16-1328

MORE NEWS: Maize In The City, Colorado Family Tradition, Opens For A New Year

(© Copyright 2016 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)