Castell de Miravet is a formidable medieval fortress dominating the Ebro River valley in Catalonia, featuring a 25-meter-high stone wall that emerges dramatically from rocky terrain. Originally built as an Andalusian fortress, the castle was transformed following Ramon Berenguar IV's conquest and subsequently became the Templar Order's provincial headquarters for Catalonia and Aragon during its period of greatest prosperity. Though modified later to accommodate artillery, the structure largely retains its Templar-era design from the 12th–13th centuries, representing one of the finest examples of Catalan military architecture. Today it operates as a museum offering guided tours and hosting cultural events throughout the year.