Since 1949, the governor has been elected by the people of Puerto Rico. Before that date, the governor was appointed either by the King of Spain (1510-1898) or by the President of the United States (1898-1946).