; and (B) by striking special trial judges and inserting magistrate judges . (g) Effective date (1) In general The amendments made by this section shall apply to individuals serving as special trial judges of the United States Tax Court on or after the day before the date of enactment of this Act. (2) Appointment savings provision Any individual serving as a special trial judge of the United States Tax Court as of the day before the date of the enactment of this Act shall be considered to have been appointed as a magistrate judge of the Tax Court under section 7443A of the Internal Revenue Code of 1986 on such date of enactment, and service as a special trial judge of the Tax Court before such date of enactment shall be considered to be service as a magistrate judge of the Tax Court for purposes of any provision of law relating to length of service. 306. Life insurance for magistrate judges of the tax court age 65 or older Section 7472 of the Internal Revenue Code of 1986 is amended by striking its judges in the second sentence and inserting the judges and magistrate judges of the Tax Court . 307. Retirement and annuity program (a) Retirement and annuity program Part I of subchapter C of chapter 76 of the Internal Revenue Code of 1986 is amended by inserting after section 7443A the following new section: 7443B. Retirement for magistrate judges of the Tax Court (a) Retirement (1) In general Each magistrate judge of the Tax Court who makes an election under this section shall receive an annuity at the same rate and in the same manner as magistrate judges of the district courts of the United States pursuant to section 377 of title 28, United States Code. (2) Rules of application For purposes of subsection (a), section 377 of title 28, United States Code, shall be applied with the following modifications: (A) By substituting— (i) magistrate judge of the Tax Court for judicial official , judicial officer , and magistrate judge each place such terms appear, (ii) magistrate judge of the Tax Court’s for magistrate