A bill that would change policies regarding solitary confinement has been passed by the state senate.

"This bill will lead to safer prisons, safer communities -- it is the right thing to do," bill author Sen. Loni Hancock said. 

Hancock says the current system for solitary confinement isolates prisoners for long periods of time and has a negative impact on rehabilitation and long-term public safety.  

Her bill calls for reforms that include banning the placement of seriously mentally ill inmates in solitary and giving solitary confinement inmates mental and physical stimulation as well as a set path back to the general prison population.

It now moves on to the Assembly.