Viceroyalty of New Granada , Spanish Virreinato de Nueva Granada , in the colonial Latin America , a Spanish viceroyalty—first founded in 1717, suppressed in 1723, and rebuilt in 1739—comprising todays Colombia , Panama (after 1751), Ecuador and Venezuela and had its capi