 During the Civil War, he served as colonel of the 31st Iowa Volunteer Infantry Regiment for two years.Smyth was elected a Republican to represent Iowa's 2nd congressional district the United States House of Representatives in 1868, serving from March 1869 until his death in Marion, Iowa on September 30, 1870 while running for reelection.He was interred in Oak Shade Cemetery in Marion.