The Baja California Peninsula is bordered on three sides by water, the Pacific Ocean (south and west) and Gulf of California (east); while Alta California had the Pacific Ocean on the west and deserts on the east. A northern boundary was established by the Adams-Onis Treaty of 1819. That boundary line remains the northern boundary of the U.S. states of California, Nevada, and the western part of Utah.