Carlist Wars
The first reference to the Monastery of la Portella is from the year 1003, and it was finally abandoned in 1835. From 1838-1840, during the Carlist Wars, the Carlist authorities moved the University of Solsona to the empty monastery for defensive reasons.