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

### Instruction:
WHAT IS THE Ceased to be Duke of Girona THAT HAS PETER IV?

### Inputs:
table_name: table, columns: ['Name', 'Heir of', 'Birth', 'Ceased to be Duke of Girona', 'Death']

### Response:
SELECT Ceased to be Duke of Girona FROM table WHERE Heir of = peter iv