 He was elected as county commissioner in 1866, and held various township offices.Wheeler was member of the Pennsylvania State House of Representatives in 1878 and 1879.He was elected as a Republican to the Sixtieth and Sixty-first Congresses.