The Northwest Boundary Survey (1857–1861) laid out the land boundary. However, the water boundary was not settled for some time. After the Pig War in 1859, arbitration in 1872 established the border between the Gulf Islands and the San Juan Islands.