831.5.
(a)
As used in this section, a custodial officer is a public officer, not a peace officer, employed by a law enforcement agency of San Diego County, Fresno County, Stanislaus County, or a county having a population of 425,000 or less who has the authority and responsibility for maintaining custody of prisoners and performs tasks related to the operation of a local detention facility used for the detention of persons usually pending arraignment or upon court order either for their own safekeeping or for the specific purpose of serving a sentence therein. Custodial officers of a county shall be employees of, and under the authority of, the sheriff, except in counties in which the sheriff, as of July 1, 1993, is not in charge of and the sole and exclusive authority to keep the county jail and the prisoners in it. A custodial officer includes a person designated as a correctional officer, jailer, or other similar title. The duties of custodial officer may include the serving of warrants, court orders, writs and subpoenas in the detention facility or under circumstances arising directly out of maintaining custody of prisoners and related tasks.
(b)
A custodial officer shall have no right to carry or possess firearms in the performance of his or her prescribed duties, except, under the direction of the sheriff or chief of police, while engaged in transporting prisoners; guarding hospitalized prisoners; or suppressing jail riots, lynchings, escapes, or rescues in or about a detention facility falling under the care and custody of the sheriff or chief of police.
(c)
Each person described in this section as a custodial officer shall, within 90 days following the date of the initial assignment to that position, satisfactorily complete the training course specified in Section 832. In addition, each person designated as a custodial officer shall, within one year following the date of the initial assignment as a custodial officer, have satisfactorily met the minimum selection and training standards prescribed by the Board of Corrections pursuant to Section 6035. Persons designated as custodial officers, before the expiration of the 90-day and one-year periods described in this subdivision, who have not yet completed the required training, shall not carry or possess firearms in the performance of their prescribed duties, but may perform the duties of a custodial officer only while under the direct supervision of a peace officer as described in Section 830.1, who has completed the training prescribed by the Commission on Peace Officer Standards and Training, or a custodial officer who has completed the training required in this section.
(d)
At any time 20 or more custodial officers are on duty, there shall be at least one peace officer, as described in Section 830.1, on duty at the same time to supervise the performance of the custodial officers.
(e)
This section shall not be construed to confer any authority upon any custodial officer except while on duty.
(f)
A custodial officer may use reasonable force in establishing and maintaining custody of persons delivered to him or her by a law enforcement officer; may make arrests for misdemeanors and felonies within the local detention facility pursuant to a duly issued warrant; may make warrantless arrests pursuant to Section 836.5 only during the duration of his or her job; may release without further criminal process persons arrested for intoxication; and may release misdemeanants on citation to appear in lieu of or after booking.