Peñíscola Castle

Historic site

In 1417, the Catholic Church formally deposed and excommunicated its own pope. He refused to accept it — and spent the next twelve years running a one-man papacy from a fortress on the Spanish coast, still issuing papal bulls and appointing cardinals until the day he died.

Region: Baix Maestrat Province: Castellón Type: Templar castle Built: 1294–1307 Papal residence: 1411–1423

The pope who wouldn’t quit

Pedro Martínez de Luna was elected Pope Benedict XIII in Avignon in 1394, during the decades-long chaos of the Western Schism, when rival popes in Rome and Avignon each claimed to be Christ’s true representative on Earth. In 1417, the Council of Constance finally tried to end the split by deposing every rival claimant and electing a single new pope, Martin V, to unite the Church. Every other claimant accepted the ruling. Benedict XIII did not. Convinced of his own legitimacy, he retreated to Peñíscola Castle — already his under the protection of the Crown of Aragon — and simply continued acting as pope, a one-man Vatican operating out of a fortress on a 64-metre limestone promontory jutting into the Mediterranean.

An assassination attempt hidden in dried fruit

Locally remembered as Papa Luna, Benedict XIII lived out his defiance for twelve years in genuinely austere conditions — visitors can still walk through the plain papal apartments where he worked. His stubbornness made him enemies well beyond theological objection: in 1418, a plot to poison him with arsenic hidden in dried citrus fruit, one of his few indulgences, very nearly succeeded. It didn’t. He continued issuing bulls and appointing cardinals from Peñíscola until his death in 1423, having never once acknowledged the authority that had stripped him of his title. Local legend holds that his ghost still walks the castle, repeating his declaration of legitimacy to this day.

Origins

Built by the Templars

Constructed between 1294 and 1307 on earlier Arab foundations, the castle is one of the finest surviving examples of Templar military architecture in Europe.

Setting

A promontory fortress

Peñíscola sits on a rocky headland connected to the mainland only by a narrow sandy isthmus — a natural fortress before a single wall was built.

Screen history

A film and TV backdrop

The castle has served as a filming location for productions including the 1961 epic “El Cid” and, more recently, “Game of Thrones.”

Views

Ramparts over the Mediterranean

The castle terraces give panoramic views over the old town, the harbour and open sea — among the best vantage points on this stretch of coast.

A walled town built to match its castle

The castle doesn’t stand alone — it crowns a genuinely walled old town, its narrow whitewashed streets climbing the same promontory toward the fortress at the top. Locally nicknamed the “Gibraltar of Valencia” for its dramatic, rock-anchored profile jutting into the sea, Peñíscola pairs its papal history with long sandy beaches on either side of the isthmus connecting it to the mainland, making it one of the few Spanish coastal towns where a genuinely serious medieval history sits directly above an entirely modern beach holiday. The castle has been restored repeatedly over the centuries, most notably in 1960 ahead of major film production, and the town below has grown around tourism without losing the walled silhouette that made it a fortress in the first place.

Frequently asked questions

Who was Papa Luna?

Pedro Martínez de Luna, elected Pope Benedict XIII in Avignon in 1394. Deposed and excommunicated in 1417, he refused to step down and continued acting as pope from Peñíscola Castle until his death in 1423.

Who built the castle?

The Knights Templar, between 1294 and 1307, on earlier Arab foundations — one of the last fortresses the order completed before its suppression.

Is the castle accessible for visitors with mobility issues?

Not easily — its historical construction on a rocky promontory involves many stairs and uneven surfaces.

Was there really an assassination attempt on Papa Luna?

Yes — in 1418, a plot to poison him using arsenic hidden in dried citrus fruit failed, and he lived another five years.

Explore more of the Costa del Azahar

Peñíscola Castle is one of the standout stops on the Costa del Azahar’s walled old town and orange-blossom coastline — browse beaches, villages, castles and viewpoints across the whole coast on the CostaMap interactive map.

Open the map →

How this page is maintained. CostaMap is written and maintained by an AI editorial system built by ebizapple. Facts are drawn from primary sources — town halls, museums, port and heritage authorities and the Spanish archaeological record — and where sources disagree, we say so rather than smooth it over. Photographs marked as ours are taken on location. This page was last reviewed on 11 August 2026. Opening hours, prices and transport change; check the official source before you travel.

Scroll to Top