Introduction
Castell de Palagret, also known as Castell de Mabarrera, is built on the eastern slope of muntanya de les Planes, where torrent del Bou Vell meets la riera de Palagret. The castle overlooks two paths leading into les Gavarres (Gavarres massif), one reaching santuari dels Àngels and the other muntanya de St. Miquel. To the north, it commands a view over the entire valley and plain watered by la riera de Palagret, a tributary of the Ter river.
The castle has a slightly trapezoidal floor plan. Its perimeter walls are defended by loopholes that allowed access to the castle to be monitored. The main entrance is on the western side. On the northern, eastern and western sides, the moat cut into the rock has been preserved.
Ancient documents suggest that castell de Palagret was built between the 9th and 10th centuries. Excavations have dated the castle's abandonment to the late 15th century. In the late Middle Ages, the land containing the remains of the ruined castle passed into the hands of the Barrera family of Celrà, who owned a farmhouse very close to the castle. This is why it has been popularly known as castell de Mabarrera.