 He served as commissioner's clerk in 1871 and 1872, counsel to the board of commissioners, and district attorney of York County, Pennsylvania, from 1881 to 1883.He was a delegate to the 1884 Democratic National Convention.Zeigler was elected as a Democrat to the Fifty-sixth Congress.