Ziegler served as commissioner's clerk in 1871 and 1872. He also served as counsel to the board of commissioners. Additionally, Ziegler served as district attorney of York County from 1881 to 1883. He was a delegate to the 1884 Democratic National Convention.
Following his tenure in Congress, Ziegler resumed practicing law. He was appointed by the judge of the court of common pleas of York County to be the auditor of the offices of prothonotary, register of wills, clerk of the court, treasurer, and recorder of York County. Ziegler served from 1923 to 1925.
Ziegler continued practicing law in York until his death in 1931.
Personal life and death
Ziegler died at the age of 87 in York on December 21, 1931. He was interred in Prospect Hill Cemetery, located in York.[3]