What is 1st Party, when 2nd Party is 'Liberal', and when 1st Member is 'James Kershaw'?
CREATE TABLE table_12822 (
    "Election" text,
    "1st Member" text,
    "1st Party" text,
    "2nd Member" text,
    "2nd Party" text
)
SELECT "1st Party" FROM table_12822 WHERE "2nd Party" = 'liberal' AND "1st Member" = 'james kershaw'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is 1st Party, when 2nd Party is 'Liberal', and when 1st Member is 'James Kershaw'? ### Input: CREATE TABLE table_12822 (
    "Election" text,
    "1st Member" text,
    "1st Party" text,
    "2nd Member" text,
    "2nd Party" text
) ### Response: SELECT "1st Party" FROM table_12822 WHERE "2nd Party" = 'liberal' AND "1st Member" = 'james kershaw'