Castell de Piera stands on a hilltop in Barcelona, offering commanding views of the surrounding landscape. Documented from 955 AD as Castrum Apiaria and later known as Castell de Fontanet, this castle holds significant historical connections to the Counts of Barcelona and King Jaume I, who spent extended stays here in the 13th century. The fortress features impressive stone architecture reflecting its strategic importance throughout medieval times. After changing hands through various noble families, particularly the Sescorts and later the Aguilera-Viala lineage, the castle remains an important monument representing the region's feudal heritage and royal patronage during Catalonia's formative period.