To the east, Washington borders Idaho, bounded mostly by the meridian running north from the confluence of the Snake River and Clearwater River (about 116°57' west), except for the southernmost section where the border follows the Snake River. To the west of Washington lies the Pacific Ocean.[5] Washington was a Union territory during the American Civil War, although it never actually participated in the war.