Spain's King Juan Carlos said he is abdicating to "ensure stability" in the country.
In a televised statement, he said: "My son [Crown Prince] Felipe, who is the heir to the throne, is the incarnation of stability.
"When I turned 76 in January, I decided it was the moment to prepare passing the baton to someone who can ensure stability".
He ended the broadcast with the words: "I will always hold Spain in the depths of my heart".
More top news
Bodies are being buried in backyards and overwhelming morgues as officials try to find another plot of land to lay them to rest.
Authorities have warned that the death toll is likely to rise as much of the building is yet to be searched.
The PM will sound out the possibility of new free trade agreements with Gulf states for once the UK has left the EU.