Denmark is set to have the highest retirement age in Europe, after lawmakers voted to raise it to 70.

Members of parliament approved a bill mandating the increase, with 81 votes in favour and 21 against.

The new law will apply to people born after December 31, 1970. The current retirement age is an average of 67, but can rise to 69 for those born on or after January 1, 1967.

The increase is necessary in order to be able to “ensure proper welfare for future generations,” Employment Minister Ane Halsboe-Jørgensen said in a press release.

Denmark has a population of nearly 6 million, with around 713,000 people aged between 60 and 69 and around 580,000 aged between 70 and 79, according to the official website of Statistics Denmark.

Approximately 80,000 people above the state pension age are currently working in Denmark, attributing the increase to good economic conditions, more flexible employers, better financial incentives and a greater desire to continue working.