The Viceroyalty of New Granada was the name to a Spanish colonial jurisdiction in northern South America, corresponding mainly to modern Colombia, Ecuador, Panama, and Venezuela. The territory corresponding to Panama was incorporated later in 1739. In addition to these core areas, the territory of the Viceroyalty of New Granada included Guyana, and parts of northwestern Brazil, northern Peru, Costa Rica and Nicaragua.
The Viceroyalty was plagued by native rebellions throughout much of its history. It in turn rebelled against Spain, achieving independence as a republic in 1822. As various other states seceded (the last being Panama in 1903), that republic gradually ceased to exist, leaving modern Colombia as a rump state.