Spain's eastern Venezuelan settlements were incorporated into New Andalusia Province. Administered by the Royal Audiencia of Santo Domingo from the early 16th century, most of Venezuela became part of the Viceroyalty of New Granada in the early 18th century, and was then reorganized as an autonomous Captaincy General starting in 1777. The town of Caracas, founded in the central coastal region in 1567, was well-placed to become a key location, being near the coastal port of La Guaira whilst itself being located in a valley in a mountain range, providing defensive strength against pirates and a more fertile and healthy climate.