Juan Carlos signed the bill at a ceremony in the Royal Palace in Madrid, which was attended by 160 guests. At midnight local time Felipe will become king although the event will not be marked in public until Thursday morning. The succession was endorsed by both of Spain’s main political parties.