user: ### NOW ANSWER:
Question: What is 1st Party, when 2nd Party is "Liberal", and when 1st Member is "James Kershaw"?
Columns: ['Election', '1st Member', '1st Party', '2nd Member', '2nd Party']
Types: ['text', 'text', 'text', 'text', 'text']
Sample row: ['1832', 'Thomas Marsland', 'Tory Party', 'John Horatio Lloyd', 'Liberal']
SQL:

assistant: SELECT "1st Party" FROM "Table" WHERE "2nd Party" = 'Liberal' AND "1st Member" = 'James Kershaw';