See Full Constitution
Article IV
Section 6. Disqualification for offices of Governor, Lieutenant Governor and Attorney General
No member of Congress or person holding any office (except of attorney-at-law or in the National Guard or in a reserve component of the armed forces of the United States) under the United States or this Commonwealth shall exercise the office of Governor, Lieutenant Governor or Attorney General.