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

### Instruction:
Which years did James Robert Jones serve?

### Inputs:
table_name: table, columns: ['Representative', 'Years', 'State', 'Party', 'Lifespan']

### Response:
SELECT Years FROM table WHERE Representative = james robert jones