The main purpose of this legislation is to raise the mandatory retirement age for members of the Foreign Service. The new age limit will be aligned with the Social Security Full Retirement Age, which is currently set at 67. This change aims to modernize retirement policies for Foreign Service employees and ensure they can work longer if they choose. Key provisions of the legislation include the amendment of the Foreign Service Act of 1980.