The idea of a retirement age was invented by Otto von Bismarck in the 1880s, when as chancellor of Germany he needed a starting age for paying war pensions. He chose the age of 65 because that was typically when ex-soldiers died.
Excerpted from The shock of the old: Welcome to the elderly age (via kottke.org)
Source: kottke.org