The royal governor of Panama ruled over the Spanish colonial administrative district known first as the colony of Darién and later as the colony of Castilla de Oro (part of Spanish colony of Peru), which in 1529 was renamed Panamá. This district was subordinated to the Viceroyalty of New Granada on August 20, 1739. There were 113 such governors or presidents during the Spanish conquest and the later periods of Spanish-centered colonialism.