However, a treaty between Costa Rica and Nicaragua has been in place since ... to uphold the 1858 treaty and its terms. A more detailed map of the boundary was drawn in 1897 at the request of ...