user: Question: Which party was Re-elected in South Carolina 5 district?
Columns: ['District', 'Incumbent', 'Party', 'First elected', 'Result']
Types: ['text', 'text', 'text', 'text', 'text']
Sample row: ['South Carolina 1', 'George Swinton Legaré', 'Democratic', '1902', 'Re-elected']
SQL:

assistant: SELECT "Party" FROM "Table" WHERE "Result" = 'Re-elected' AND "District" = 'South Carolina 5';