user: ### NOW ANSWER:
Question: Which 1st Party has an election in 1865?
Columns: ['Election', '1st Member', '1st Party', '2nd Member', '2nd Party']
Types: ['text', 'text', 'text', 'text', 'text']
Sample row: ['1832', 'Sir Oswald Mosley, Bt', 'Whig', 'Edward Manningham-Buller', 'Whig']
SQL:

assistant: SELECT "1st Party" FROM "Table" WHERE "Election" = '1865';