The United States bought Alaska in 1867 from Russia in the Alaska Purchase, but the boundary terms were ambiguous. In 1871, British Columbia united with the new Canadian Confederation. The Canadian government requested a survey of the boundary, but the United States rejected it as too costly; the border area was very remote and sparsely settled, and without economic or strategic interest. In 1898, the national governments agreed on a compromise, but the government of British Columbia rejected it. U.S. President McKinley proposed a permanent lease to Canada of a port near Haines, but Canada rejected that compromise.