Notwithstanding any other provision of this chapter, no retirement allowance or optional settlement in lieu thereof under this chapter shall be paid to or in respect to any person for time during which he or she holds office as a legislator. If a retired legislator reenters this system after his or her retirement, his or her retirement allowance or optional settlement in lieu thereof shall be discontinued, and his or her individual account shall be credited with the amount of his or her accumulated contributions at the time of his or her retirement, and he or she shall be entitled to receive credit for service prior to his or her retirement in the same manner as if he or she had never been retired.
Ca. Gov. Code § 9359.15