user: ### NOW ANSWER:
Question: Who was the successor for the state of Maine (2) ?
Columns: ['State (class)', 'Vacator', 'Reason for change', 'Successor', 'Date of successors formal installation']
Types: ['text', 'text', 'text', 'text', 'text']
Sample row: ['Alabama (2)', 'New seats', 'Alabama was admitted to the Union.', 'John W. Walker (DR)', 'Elected December 14, 1819']
SQL:

assistant: SELECT "Successor" FROM "Table" WHERE "State (class)" = 'Maine (2)';