Swanger worked as a clerk in the mayor's office of Lebanon, Pennsylvania, from 1966 through 1972. She later worked as assistant city clerk from 1972 through 1974, and as city clerk for Lebanon from 1974 through 1984.[5] She served as a county commissioner in Lebanon County from 1984 through 2004.[4]
In 2011, Swanger introduced HB 2029, a bill which would prohibit courts from "consider[ing] a foreign legal code or system" that lacks "the same fundamental liberties" as the Pennsylvania Constitution and U.S. Constitution.[7] In a letter to her Republican colleagues, Swanger claimed, "Increasingly, foreign laws and legal doctrines -- including and especially Shariah law -- are finding their way into U.S. court cases. Invoking Shariah law, especially in family law cases, is a means of imposing an agenda on the American people."[8] Her bill, based upon a model written by anti-Sharia activist David Yerushalmi,[9] was seen as "Islamophobic" and part of the wider anti-Sharia movement in the United States.[7][10] In addition to Islamic leaders,[11] Jewish and Catholic leaders questioned whether the bill would also compromise elements of their religious code and liberties.[9][12] In response, the Pittsburgh City Council passed a unanimous resolution condemning HB 2029.[11] Swanger's bill ultimately failed to make it past committee in the State House.[13] Her reintroduction of the bill in 2014 was met with similar results.[14]