Castle of Gallifa Monument · Gallifa, Vallès Occidental, Barcelona The castle of Gallifa, in Vallès Occidental (Barcelona), gives its name to the municipality and has medieval origins: it is documented in the year 999 as a fortified possession of the comital house of Barcelona, although recent excavations have found 8th-century BC Iberian walls on the same site. Between the 11th and 18th centuries it passed through the Gallifa, Rocafort, Centelles, Girbau and Taiadella families, and around the 16th century it ceased to be a military stronghold and became a parish center. Remains survive of defensive walls, a rectangular tower with two vaulted floors, and the Romanesque chapel of Santa Maria del Castell. In 1985 the chapel was restored as the sanctuary of the Mare de Déu de l'Ecologia, and the complex has been Bien Cultural de Interés Nacional (Spain's highest level of heritage protection) since 1988. Photo: Amadalvarez (CC BY-SA 3.0) What to see and do in Gallifa