The Viceroyalty of New Granada (Spanish: Virreinato de la Nueva Granada) was the name given on 27 May 1717, to the jurisdiction of the Spanish Empire in northern South America, corresponding mainly to modern Colombia, Ecuador, Panama, and Venezuela. The territory corresponding to Panama was incorporated later in 1739.