Pennsylvania constitution
Article II: the legislature
Section 9

The Senate shall, at the beginning and close of each regular session and at such other times as may be necessary, elect one of its members President protempore, who shall perform the duties of the Lieutenant Governor shall be vacant. The House of Representatives shall elect one of its members as Speaker. Each House shall choose its other officers, and shall judge of the election and qualifications of its members.