 He was the unsuccessful Republican candidate for election in 1856 to the Thirty-fifth United States Congress.However, he was elected to the Thirty-sixth and Thirty-seventh Congresses (March 4, 1859–March 3, 1863).Gurley was an unsuccessful candidate for reelection in 1862 to the Thirty-eighth Congress.