 Williston was elected to the Pennsylvania House of Representatives from Tioga County and served from 1856 until 1860.In 1861, he was appointed by President Abraham Lincoln to the Dakota Territorial Supreme Court, and served concurrently on the territorial district court.Lincoln then transferred him to serve as one of the first Associate Justices on the Montana Territorial Supreme Court in 1864.