Just to add another federal pension to the mix, federal judges have perhaps the best pension scheme of all, though there are explanations for why.
As a federal judge, once you reach the age of 65 with 15 years of service, or the age of 70 with 10 years of service, or somewhere in between you are eligible for retirement (they call this the rule of 90, where you are eligible for retirement when your age plus years of service equal or exceed 90).
The federal judicial pension is 100% of your pre-retirement salary. In addition, as a federal judge, you can “assume senior status”, or semi-retire, and if you work at least 25% of the workload of a judge in active service, you can get 100% of your salary plus the same raise every year that active judges get.
The main reason for this is because appointment as a federal judge is “on good behavior”, i.e. for life unless impeached. Historically, federal judges would stay on the bench for as long as they could, and there was no effective method to remove or replace them when they slowed down or became entirely ineffective due to age or ill health. Under the current scheme, it is financially easy for judges to retire and leave their seats to younger and more vigorous judges who can handle a full caseload. In addition, senior status judges assume a substantial portion of the judicial workload, easing the burden on the system at relatively little additional cost.
Another reason for the judicial pension is that the salaries of federal judges are quite low compared to what senior lawyers may make in private practice. The salary of a district judge is $169,300, a circuit judge is $179,500, a Supreme Court justice $208,100, and the Chief Justice $217,400. Although these are healthy salaries, the compensation of even junior associates at the top law firms can exceed these levels.