Viceroyalty of New Granada
The territory of the province of Merida depended on the Viceroyalty of New Granada until 1777, when the Captaincy General of Venezuela was created.