In
Minich v. County of Jefferson, 919 A.2d 356, 361 (Pa. Commw. Ct. 2007), the court upheld an ordinance prohibiting the possession of weapons in county buildings, stating that the Pennsylvania right to bear arms may be restricted “for the good order of society and the protection of the citizens" and that "Section 509(a) of the County Code allows county commissioners to adopt ordinances regulating the affairs of a county. Section 509(c) of the County Code allows county commissioners to prescribe fines and penalties for violations of a “public safety” ordinance. 16 P.S. §509(c). Here, the County ordinance regulates the affairs of the County, specifically the safety of members of the public who enter the Jefferson County Court House."
State law did not preempt the county law in that case.