 He was member of the Pennsylvania State House of Representatives from 1926 to 1932.Dunn was elected as a Democrat to the Seventy-third and to the three succeeding Congresses.He served as Chairman of the United States House Committee on the Census during the Seventy-sixth Congress.