Notwithstanding any provision in this Code to the contrary, if a person is a participant under Article 18 and files a written election by July 1, 2005 with the Judges Retirement System of Illinois, then that person may serve either as legal counsel in the Office of the Governor or as Chief Deputy Attorney General and (A) no retirement annuity or other benefit of that person under Article 18 is subject to forfeiture, diminishment, suspension, or other impairment solely by virtue of that service and (B) that person does not participate in any pension fund or retirement system under this Code with respect to that service. This Section applies without regard to whether the person is in active service under Article 18 of this Code on or after the effective date of this amendatory Act of the 93rd General Assembly.
40 ILCS 5/1-123