The border was finally resolved in 1795 by the Treaty of San Lorenzo, in which Spain recognized the 31° parallel as the boundary.
A polémica foi finalmente resolta en 1795 polo Tratado de San Lorenzo, no que España recoñeceu o paralelo 31 como a fronteira.