Penal Code § 22825
CHAPTER 1. General Provisions
A custodial officer of a county may carry a tear gas weapon pursuant to Section 22820 only while on duty. A custodial officer of a county may carry a tear gas weapon while off duty only in accordance with all other laws.