WHAT IS THE Ceased to be Duke of Girona THAT HAS PETER IV?
CREATE TABLE "holders" (
  "name" text,
  "heir_of" text,
  "birth" text,
  "ceased_to_be_duke_of_girona" text,
  "death" text
);
SELECT "ceased_to_be_duke_of_girona" FROM "holders" WHERE "heir_of"='peter iv';