This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

A federal judge has ordered fewer nighttime interruptions for Alameda County jail inmates after a group of female inmates at Santa Rita Jail in Dublin sued, saying their lack of sleep amounted to cruel and unusual punishment.

The San Francisco Chronicle reports U.S. District Judge James Donato on Monday put an end to 2:30 a.m. pill calls, noisy overnight maintenance work and 4 a.m. breakfasts.

Donato also ordered lights to remain out an extra hour during the week, and two hours on weekends and holidays.

Attorneys for the Sheriff’s Office had argued the early morning pill calls were necessary for certain ailments and that a 4 a.m. breakfast ensured time to transport inmates to court.

Sheriff’s Office spokesman Sgt. Ray Kelly says jail officials will comply with the judge’s orders.