Pennsylvania constitution
Article II: the legislature
Section 5

Senators shall be at least twenty-five years of age and Representatives twenty-one years of age. They shall have been citizens and inhabitants of their respective districts one year next before their election (unless absent on the public business of the United States or of this State) and shall reside in their respective districts during their terms of service.