The oldest known document that mentions this castle dates from the end of the 12th century, although it may have been built earlier. It was built on an excellent strategic site for the control of the royal way (following the Anoia valley) between the Òdena basin and the Penedès area.
Remains have been preserved at two points of the site, located 200 metres apart. At the higher point, the base of a tower and various wall sections are located that must have formed the castle’s rooms, now concealed by erosion and vegetation. At the other point, further westwards, there is an almost cylindrical tower (except for one flattened side). Despite being at a lower elevation, it offers a more commanding view of the river valley. This tower may have been the original element of the entire complex.
The fortress formed part of the possessions of the counts of Barcelona until it was donated to the monastery of Sant Cugat at the end of the 12th century, which is when its name first appears. By the 14th century it had already ceased to exist as such.
The construction of this castle was of key importance in the decades following the conquest in order to safeguard communication routes and strengthen the repopulation of the area.