(a) The right to a retirement salary, in accordance with the provisions of this section, of any judge, family support magistrate or administrative law judge who is not eligible to retire under the provisions of § 51-49i or 51-50a, which judge, family support magistrate or administrative law judge has completed ten years of service as such, shall be vested and nonforfeitable.

(b) Any such judge or administrative law judge who first commenced service as a judge or administrative law judge prior to January 1, 1981, and who resigns (1) on or before October 1, 2011, (2) prior to becoming eligible to retire under § 51-50a, and (3) after at least ten years of service, shall receive, at such time as he would have been eligible to so retire if he had continued in such service, as retirement salary, annually, fifty per cent of the retirement salary he would have received had he served until he was so eligible, plus ten per cent of such retirement salary for each year of service beyond ten years but for not more than five years of additional service.

(c) Any such judge, family support magistrate or administrative law judge’ who first commenced service as a judge, family support magistrate or administrative law judge on or after January 1, 1981, and who resigns (1) on or before October 1, 2011, (2) prior to becoming eligible to retire under § 51-50a, and (3) after at least ten years of service, shall receive, at such time as he would have been eligible to so retire if he had continued in such service, annually, an amount equal to the fraction of the retirement salary he would have received had he served until he was so eligible that corresponds to the ratio which the number of years of his completed service bears to the number of years of service which would have been completed at age sixty-five or twenty years, whichever is less.

(d) Any such judge or administrative law judge who first commenced service as a judge or administrative law judge prior to January 1, 1981, and who resigns (1) on or after October 2, 2011, and prior to July 1, 2022, (2) prior to becoming eligible to retire under § 51-50a, and (3) after at least ten years of service, shall receive, at such time as he would have been eligible to so retire if he had continued in such service, but in no event earlier than at sixty-two years of age, annually, an amount equal to the fraction of the retirement salary he would have received had he been eligible to retire on the date of his resignation that corresponds to the ratio that the number of years of his completed service bears to the number of years of service that would have been completed at sixty-five years of age or twenty years, whichever is less.

(e) Any such judge, family support magistrate or administrative law judge who first commenced service as a judge, family support magistrate or administrative law judge on or after January 1, 1981, and prior to July 1, 2011, and who resigns (1) on or after October 2, 2011, and prior to July 1, 2022, (2) prior to becoming eligible to retire under § 51-50a, and (3) after at least ten years of service, shall receive, at such time as he would have been eligible to so retire if he had continued in such service, but in no event earlier than at sixty-five years of age, annually, an amount equal to the fraction of the retirement salary he would have received had he been eligible to retire on the date of his resignation that corresponds to the ratio that the number of years of his completed service bears to the number of years of service that would have been completed at sixty-five years of age or twenty years, whichever is less.

(f) Any such judge, family support magistrate or administrative law judge who first commenced service as a judge, family support magistrate or administrative law judge on or after July 1, 2011, and who resigns (1) prior to becoming eligible to retire under § 51-49i or 51-50a, and (2) after at least ten years of service, shall receive, at such time as he would have been eligible to so retire if he had continued in such service, but in no event earlier than at sixty-five years of age, annually, an amount equal to the fraction of the retirement salary he would have received had he been eligible to retire on the date of his resignation that corresponds to the ratio that the number of years of his completed service bears to the number of years of service that would have been completed at sixty-five years of age or twenty years, whichever is less.

(g) In determining the amount of retirement payments to be made pursuant to subsections (b) to (f), inclusive, of this section, longevity payments which would have been made if the judge, family support magistrate or administrative law judge had continued to serve as a judge, family support magistrate or administrative law judge from the date of resignation with a vested right to a retirement salary shall not be included in the computation.