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

### Instruction:
Which team had a year entering the league under 2009, located in Bath?

### Inputs:
table_name: table, columns: ['Team', 'University', 'Location', 'Year entered league', '2013–14 division']

### Response:
SELECT Team FROM table WHERE Year entered league < 2009 AND Location = bath