Peru and Ecuador share a long history dating back to the time of the Inca Empire, in which Quito was an important administrative center in the region. During the viceregal era, the province of Quito belonged to the Viceroyalty of Peru until the Bourbon Reforms implemented by King Philip V, incorporating them into the new Viceroyalty of Nueva Granada, a situation that would continue until independence.
During the republican period, both countries would have constant tensions over territorial issues that would not be resolved until the signing of the Protocol of Peace, Friendship and Limits of Rio de Janeiro in 1942 as a result of the 1941 Ecuadorian–Peruvian War and its subsequent consolidation with the signing of the Act of Brasilia in 1998 as a result of the Cenepa War. Since then, both countries have experienced a growing improvement and strengthening of their relations, which has led to greater commercial exchange.
In 2007, the binational cabinet between Ecuador and Peru was established in Tumbes.[2] On May 2, 2011, Ecuador and Peru signed a Maritime Boundary Agreement.[3]