The Nootka Crisis of 1789 almost led to a war between Britain and Spain: Britain rejected Spanish claims to lands in British Columbia and Spain seized some British ships. The crisis was resolved in Madrid by the Nootka Conventions of 1790-1794, which provided that traders of both Britain and Spain could operate on the northwest coast, that the captured British ships would be returned and an indemnity paid. This marked a victory for Britain, and Spain effectively withdrew from the North Pacific. It transferred its claims in the region to the United States in the Adams-Onís Treaty of 1819. Today, Spain's Alaskan legacy endures as little more than a few place names, among these the Malaspina Glacier and the towns of Valdez and Cordova.