Spain’s King Juan Carlos is abdicating after almost 40 years on the throne and his son will succeed him.