The Brazil–Peru border is the line, located in the Amazon Rainforest, that limits the territories of Brazil and Peru. The Brazilian states of Amazonas and Acre border the eastern Peruvian regions of Loreto, Ucayali and Madre de Dios. Part of the limit was established in the Treaty of Rio de Janeiro in 1909.[1][2]