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

### Instruction:
Which term had a Democratic representative from district 7?

### Inputs:
table_name: table, columns: ['Name', 'Party', 'Hometown', 'District', 'Term', 'Legislatures']

### Response:
SELECT Term FROM table WHERE District = 7 AND Party = democratic