The Castle of Gallifa is an ancient castle on the plain that accommodates Gallifa, a small village of Catalonia, Spain. It is a small fortification that was the historical and jurisdictional center of the village in the Middle Ages.