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

### Instruction:
Which Year has a Borough of harrogate, and a Rank smaller than 6, and a Definition of civil parish?

### Inputs:
table_name: table, columns: ['Rank', 'Town', 'Population', 'Year', 'Borough', 'Definition']

### Response:
SELECT Year FROM table WHERE Borough = harrogate AND Rank < 6 AND Definition = civil parish