Castell de Castellmeià is a historic castle with origins documented in 1044 as castrum Mediani, located in Castellmeià within the municipality of Torrefeta i Florejacs in Catalonia. The fortress represents an important element of Catalan medieval heritage and is catalogued as a cultural property of national interest. In the 17th century, the property passed to Francesc de Junyent i de Marimon, to whom the Marquisate of Castellmeià was granted in 1716, elevating its status as both a military fortification and the seat of a noble family's holdings.