Any person, who has served as a member of the general assembly, as a general officer, and as a justice of the supreme court, the superior court, the family court, or the district court, whose combined service as a member of the general assembly, a justice, and a general officer is twenty (20) years or more and who has retired, resigned, and completed such service prior to January 1, 2014, shall, upon reaching the age of sixty-two (62) years, receive during life a sum equal to three-fourths (1/4) of the highest annual salary that the person was receiving during such service.
R.I. Gen. Laws § 8-3-12