Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What is the date in which a politician who left office on 1840-10-11 for a politician whose election number was 11?

### Inputs:
table_name: table, columns: ['Election number', 'Election date', 'District', 'Province', 'Took office', 'Left office']

### Response:
SELECT Left office FROM table WHERE Election number = 11