SACRAMENTO, Calif. — California inmates on Thursday ended a nearly two-month hunger strike to protest policies that can keep some gang leaders isolated for decades, after lawmakers agreed to hold hearings on complaints about the treatment.

More than 30,000 inmates had been refusing meals when the strike began in early July. By this week the number had dwindled to 100, including 40 who had been on strike continuously since July 8.

The strike ended after two Democratic state legislators promised to hold hearings this fall on inmates’ complaints that gang leaders are held in isolation units for long periods. Three of the four strike leaders have been kept that way for more than 20 years and the fourth for more than a decade.

Advocates for the inmates said in a statement that the strikers met with other prisoners and decided to end their fast because of the pending hearings and “the growing international condemnation of California’s practice of solitary confinement.”

A federal judge had given authorities permission to force-feed inmates if necessary to save their lives, but officials did not have to resort to that measure. Even hard-core strikers had been accepting vitamins and electrolyte drinks during their fast.

It did not appear that any inmates suffered serious health problems such as kidney or eye damage that can result from starvation, said Joyce Hayhoe, a spokeswoman for the federal court-appointed official who oversees prison medical care.

The focus now will be on easing inmates back to solid food, she said.

“We are pleased this dangerous strike has been called off before any inmates became seriously ill,” Corrections Secretary Jeffrey Beard said in a statement.

He said the department will continue to carry out changes it began two years ago in its policies over sending inmates to isolation units designed to discipline inmates who commit crimes in prison or keep gang leaders from easily communicating with their followers.

The changes include more limits on which inmates are sent to the units at Pelican Bay, where the strike began, and at other prisons. The policies also make it easier for inmates also can work their way out of the isolation units.

Jules Lobel, an attorney representing 10 striking inmates in a federal lawsuit over the isolation units, did not immediately return a telephone message.

Supporters and advocates for the inmates planned a rally later in the day at a California state building in downtown Oakland.

“I’m relieved to see an honorable end to the hunger strike without getting to the point where people were dying,” Assemblyman Tom Ammiano, D-San Francisco, said in a statement.

He said he was gratified that the hearings he plans with Sen. Loni Hancock, D-Berkeley, helped prompt an end to the strike. Lawmakers’ real work begins now as they prepare for hearings “that I hope can bring an end to the disgraceful conditions that triggered the hunger strike,” he said.

Advertisement

Hancock said in a statement the “issues raised by the hunger strike are real — concerns about the use and conditions of solitary confinement in California’s prisons — and can no longer be ignored.”

About 3,600 inmates are housed in the isolation units because of crimes they committed in prison or their designation as leaders of prison gangs.

The four organizers of the hunger strike all are serving life sentences for murder, have committed a string of assaults while incarcerated, and lead rival prison gangs, officials have said.