CREATE TABLE "pennsylvania" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text,
  "candidates" text
);

Question: What is the earliest year where the result of the election was a retired republican hold?
SQL: SELECT MIN("first_elected") FROM "pennsylvania" WHERE "result"='Retired Republican hold';

Question: What party is thomas foglietta from?
SQL: SELECT "party" FROM "pennsylvania" WHERE "incumbent"='Thomas Foglietta';