Table schema:
CREATE TABLE table_name_4 (party VARCHAR, first_elected VARCHAR, district VARCHAR)

Question: Which Party has a First elected smaller than 1878, and a District of south carolina 3?
SQL: SELECT party FROM table_name_4 WHERE first_elected < 1878 AND district = "south carolina 3"