History of the Ecuadorian–Peruvian territorial dispute nature, but was meant only for ecclesiastical and military jurisdiction. During the first 10 years of independence, Gran Colombia, under the leadership of Simon Bolivar, had continually protested Peru's occupation of Tumbes and Jaen; Maynas had not been militarily occupied yet. Peru ignored Simon Bolivars ultimatum to return Tumbes and Jaen or face war. Bolivar then declared war and Peru responded by successfully invading and occupying southern Ecuador with a force of 8,000 soldiers. Simon Bolivar sent Jose Antonio de Sucre to Ecuador who lead 4,000 Gran Colombian soldiers that defeated the Peruvian invaders in the Battle of Tarqui in
Gran Colombia title of his archive of his revolutionary activities. Simon Bolívar and other Spanish American revolutionaries also used the word "Colombia" in the continental sense. The establishment in 1819 of a country with the name "Colombia" by the Congress of Angostura gave the term a specific geographic and political reference. The Republic of Colombia comprised more or less the former territories of the Viceroyalty of New Granada (1739-1777), which it claimed under the legal principle of "uti possidetis". It united the territories of the former Third Republic of Venezuela, the United Provinces of New Granada, the former Royal Audiencia of Panama