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

### Instruction:
What was the gross tonnage of the ship that ended service in 1866?

### Inputs:
table_name: table, columns: ['Ships name', 'Entered service', 'Ended service', 'Gross Tonnage', 'Type of Vessel']

### Response:
SELECT Gross Tonnage FROM table WHERE Ended service = 1866