 In the lower court is the chapel, including Romanesque elements from original structures of the area, or of French inspiration.Probably existing since the 9th century, the castle is mentioned for the first time in a document from Ponce I, count of Ampurias in the 11th century.In the 19th century, the ruined castle was rebuilt in a neo-medieval style.