This date is marked as the founding of the first fluvial Peruvian port of Iquitos by the government of Peru. A dockyard and navy factorage imported from England was immediately constructed. In time Iquitos grew so much that it was designated as the capital of the Department of Loreto on 9 November 1897. Iquitos also became the seat of a Roman Catholic Apostolic Vicariate. Peru was able to map out and assume "de facto" control of the majority of the area of the Amazon region under dispute with Ecuador and Colombia. After many skirmishes with Ecuadorian and Colombian outposts, that at times led to war, Peru settled its border with Colombia in 1922 and with Ecuador in 1942.