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
Second Republic of Venezuela of Angostura in 1819, which wrote a new constitution for Venezuela, replacing the one from 1811, which in theory, was still valid, although suspended since the collapse of the first republic in 1812. The congress decreed the union of Venezuela with New Granada in a new republic, known as "Gran Colombia", bringing an end to the Third Republic. From 1820 to 1830, the territory of Venezuela was the Department of Venezuela within Gran Colombia. After the dissolution of Gran Colombia, Venezuela became once again the Republic of Venezuela, and although undergoing various changes in constitutions and forms of government, it