he then served as an officer in the confederate states army. he was subsequently elected to be the representative from alabama's 8th district to both the first confederate congress and the second confederate congress, serving from 22 february 1862 until the surrender in 1865. pugh served on the house committee on military affairs throughout both congresses, where he was a prominent critic of c.s. president jefferson davis.