Cook was elected as a Republican to the Thirty-ninth and to the three succeeding Congresses and served from March 4, 1865, to August 26, 1871, when he resigned.
Cook was elected as a Republican to the Thirty-ninth and subsequent legislative sessions and held office from March 4, 1865, to August 26, 1871, when he stepped down.