user: Question: when first elected was 1898 what was the party?
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 "First elected" = '1898';