Which Party has a First elected smaller than 1878, and a District of south carolina 3?
CREATE TABLE "united_states_house_of_representatives_e" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text
);
SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "first_elected"<1878 AND "district"='south carolina 3';