(705 ILCS 205/9) (from Ch. 13, par. 9)
    Sec. 9. All attorneys and counselors at law, judges, clerks and sheriffs, and all other officers of the several courts within this state, shall be liable to be arrested and held to terms of pretrial release, and shall be subject to the same legal process, and may in all respects be prosecuted and proceeded against in the same courts and in the same manner as other persons are, any law, usage or custom to the contrary notwithstanding: Provided, nevertheless, said judges, counselors or attorneys, clerks, sheriffs and other officers of said courts, shall be privileged from arrest while attending courts, and whilst going to and returning from court.
(Source: R.S. 1874, p. 169; P.A. 101-652, eff. 1-1-23.)