Any member who, while serving a term of office as a Member of the Senate or Assembly, is elected or appointed to another public office and resigns his or her office as Member of the Senate or Assembly shall be credited with a period of service equal to the remainder of his or her term as Member of the Senate or Assembly if he or she makes contributions therefor to the Legislators' Retirement Fund. Those contributions shall be in an amount equal to that which he or she would have made if he or she had served as a Member of the Senate or Assembly during the remainder of his or her term and had received the salary that he or she was receiving on the effective date of such resignation.
Ca. Gov. Code § 9355.7