 He served as the prosecuting attorney of Litchfield County from 1807 until 1814 and was judge of the Litchfield County court from 1814 until 1817.Holmes was elected as a Federalist to the Fifteenth Congress and served from March 4, 1817, until his resignation in 1818.He died in Canton, Connecticut, in 1827 and was buried in East Cemetery in Litchfield.