SACRAMENTO (CBS/AP) — Gov. Jerry Brown has signed legislation canceling the California exit exam as a requirement for graduation this year, offering a reprieve to about 5,000 students left in limbo when the state canceled the test.

Brown announced signing SB725 on Wednesday without comment.

READ MORE: Feds Announce $50B Plan To Fight Western Wildfires Where Forests Meet Civilization

The legislation by Oakland Democratic Sen. Loni Hancock quickly cleared the Legislature this week as lawmakers sought to help the students. Some were unable to enroll in college or join the military.

READ MORE: Michelle Go, Killed In New York Subway Attack, To Be Mourned At San Francisco Chinatown Vigil

The problem developed when the state Department of Education allowed its contract to lapse with the company that provides the exam, forcing a cancellation of the test in July.

The department expected lawmakers to pass legislation suspending the exam before the problem developed. The state is developing new tests aligned with Common Core standards.

MORE NEWS: Suspect In November Smash-and-Grab Robbery At High-End Sneaker Store In Santa Clara Arrested

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