SACRAMENTO — Gov. Jerry Brown has asked lawmakers for money to move thousands of inmates out of crowded state prisons, even as he appeals to the U.S. Supreme Courtto make such a step unnecessary.

The governor sent the Legislature a request for $450 million over the next two years to lease up to 4,100 beds in county jails and private prisons and to continue shipping 8,500 inmates to other states.

He also proposes allowing inmates to earn more credit for time served by working at firefighting camps or completing classes. And he would allow more prisoners to qualify for medical parole or elder release.