After the independence of Brazil in 1822, the current borders of the Amazonas State were still undefined – at that time being with Gran Colombia. The internal conflicts within that neighbour country resulted in the emergence of Colombia, Ecuador, Venezuela and Panama. Brazil signed the Treaty Vásquez Cobo–Martins (1908) (with those countries) finally entitling those possessions in the north to Brazil. One region is marked by the geodesic line Apóporis-Tabatinga; and the other is the municipal area of São Gabriel da Cachoeira, on the Brazil-Colombia border.