Spain · Partial ruin
Castle of Xàtiva
Castillo y conjunto monumental de Játiva
Xàtiva Castle is a twin fortification on a rocky hill above the city of Xàtiva in Valencia, Spain, made up of an older lower fort (Castillo Menor) and a larger medieval upper fort (Castillo Mayor). The complex runs along a narrow crest with long stepped curtain walls, towers and terraces and retains extensive surviving masonry. It was an active fortress through the early modern period before losing strategic importance after an 18th-century earthquake.
Its prime
1700
Today
Partial ruin
As it stood in 1700
What Castle of Xàtiva looked like in its prime.
A long stone fortress runs along a narrow rocky ridge, divided into a lower (menor) and upper (mayor) enclosure; continuous pale-beige limestone curtain walls with crenellations and angled stretches step up the slope. The summit holds a compact group of square and rectangular towers and keeps, with ramped walkways and an arched gate along the middle wall. Terraced gardens and a paved fountain terrace sit within the lower enclosure, and the castle overlooks a broad agricultural plain and distant low mountains.
Its story
The story of Castle of Xàtiva.
Celtiberian Origins and the Roman Conquest
The smaller of Xàtiva's two fortresses, the Castillo Menor, began as a Celtiberian stronghold on the crag, taken by the Carthaginians in the third century BC. It is said to be where Hannibal planned his campaign against the Roman city of Saguntum, and where his son was born in 218 BC; the site was later conquered by the Roman general Scipio, and the Romans went on to add a second fortress on the mountain's other high point, the Castillo Mayor. The stronghold commanded the ancient Via Augusta, the road running from Rome across the Pyrenees and down the Mediterranean coast to Cartagena and Cádiz.
Almoravids to the Fall to James I of Aragon, 1092–1244
The castle fell to the Almoravid dynasty in 1092. An uprising drove them out in 1145, during which the fortress was besieged by the ruler of Valencia, Marwan Abd-al-Aziz. In 1171 it passed, with the rest of the Levante coast, into Almohad hands.
James I of Aragon began his conquest of the region in 1239; a five-month siege ended with Xàtiva's fall on 22 May 1244. Under the Treaty of Xàtiva that followed, the governor surrendered the smaller castle to James I at once, while the terms allowed the Muslim garrison to continue holding the larger castle for a further two years.
Once that period had elapsed, James I forcibly resettled much of the town with Catalan and Aragonese colonists, while a portion of its Muslim and Jewish population was killed or expelled; over the following decades many of the Mudéjar who remained left for Granada or North Africa.
State Prison of the Crown of Aragon
After James I's conquest and the creation of the Kingdom of Valencia, the castle served not only to defend the city but as the state prison of the Crown of Aragon. Among its prisoners was Jaume, Count of Urgell, the defeated claimant to the crown after the Compromise of Caspe, who was imprisoned there and died in captivity; a sarcophagus in the castle's chapel of Santa María is said to hold his remains. Diego de Borja, brother of Francis Borgia, was another prisoner, beheaded at the castle in 1562.
The War of the Spanish Succession, 1706–1707
The castle saw fighting again during the War of the Spanish Succession. Joan Baptista Basset, commanding the Austracist forces defending Valencia and an engineer and artillerist himself, reinforced Xàtiva's defences, including the castle; a surviving tower is still known as the Garita Basset. His work held off a first siege in May 1706 led by the Count de las Torres.
The following year, without Basset and facing heavier artillery, the town's walls were breached in two places and the castle itself suffered extensive damage. Troops under d'Asfeld, fresh from their victory at the Battle of Almansa, could not reach the elevated castle and bombarded it instead; the garrison, made up mostly of English troops and acting against the wishes of the Catalan defenders, negotiated its withdrawal with the French, leaving the castle on 12 June 1707 after a siege of more than a month.
Decline, Earthquake and Later Owners
The castle's decline after 1707 owed most to the devastation inflicted on Xàtiva itself, the earthquake of 1748, which seriously damaged the site, and the Peninsular War of the early nineteenth century, after which it was left without strategic importance.
In the twentieth century the castle passed to Gregori Molina, a businessman who had made his fortune in Xàtiva's paper industry and reportedly intended to build himself a villa within the old fortress. Carles Sarthou, the town's official chronicler and director of the Museu de l'Almodí, persuaded him instead to respect the site's architecture; the result was a new neo-Gothic range built in harmony with the older work, in effect a third castle added to the other two. The site later passed to a savings bank and from there to the Generalitat Valenciana; it is now managed by Xàtiva's town council, protected as a bien de interés cultural, and open to visitors, who can also hold civil weddings there. The partly ruined complex featured as a filming location in the Star Wars series Andor.
Step inside
7 places to explore in 1700.
The record describes 7 distinct spots at Castle of Xàtiva, including 2 interiors: castillo menor courtyard and terrace, ramped inner passage ascending to the upper fort. Create your own photoreal reconstruction and explore every one, more scenes means more rooms, more angles, and more of the place to stand in.
Build Your Own Castle
Recreate Castle of Xàtiva with AI to explore it.
The artist rebuilds it as it stood in 1700, a photoreal reconstruction that belongs to you alone. Pay with coins, no subscription needed.
Recreate this castle →Defend this castle →