Should the service of a district judge be terminated prior to the time said judge is entitled to receive retirement benefits under this article, such judge shall have the right to elect to withdraw from the Judicial Retirement Fund and to have refunded his contributions to the Judicial Retirement Fund, plus accrued interest thereon, under the same rules, regulations and rates applicable to similar refunds of contributions under the Employees' Retirement System; provided, that should such judge not elect to withdraw from the Judicial Retirement Fund he shall be entitled to receive a certificate from the Secretary-Treasurer of the Employees' Retirement System of Alabama showing the time of service accumulated toward retirement.
If any such judge has sufficient time of service for any retirement benefit provided by this article, upon reaching a retirement age or upon death, such certificate may be filed as proof of time of service with the Chief Justice of the Supreme Court.
Ala. Code § 12-18-54 (1975)