In the High Middle Ages, its castle, the Castle of Saguardia, located in the county of Les Llosses was ruled by the Saguàrdia family, of which Ponç de la Guàrdia was a famous troubadour.