The famous and feared Carlist leader Ramon Cabrera, the Tiger of the Maestrat, was the one who ordered the construction of the current castle in 1837, probably on the remains of a previous fortification. It rises on the hill that dominates the meander of Flix and it seems that its mission was to protect the centenary boat crossing of the road to Lleida that had been under it. Historically, its geographical location made it one of the most important in the region, along with the castle of Mequinensa and the castle of Miravet. This was a very solid fortification that was not occupied until the end of the last Carlist war, on June 19, 1875. In 2006 it was restored and can be visited with prior reservation. The views were breathtaking.