from wikipedia "https://ca-m-wikipedia-org.translate.goog/wiki/Santa_Maria_de_Vallsanta?_x_tr_sl=ca&_x_tr_tl=en&_x_tr_hl=ca&_x_tr_pto=wapp"

 The construction of the monastery began in 1235. The new monastery was intended to replace that of Santa Maria de la Bovera . [2] which was in bad conditions due to lack of water. The community, composed of twenty-three nuns, moved in 1249 with Agnès de Guimerà as its first abbess . In 1267 the construction was already completed.

It received several donations, highlighting the one made in 1272 by King Jaume I that financed a large part of the construction works of the cloister . [2] The community was active during the 14th and 15th centuries . There is no news about the origin of the monastery's income or whether it received later donations from the crown or the nobility. In 1348 the monastery was affected by a plague epidemic that decimated the community.

A new epidemic ravaged the monastery in 1403, reducing it to the mother abbess, a mother prioress, a sexton and two sisters. In 1589 the cenobi was in complete decay; it had only three nuns, no abbess and debts were piling up. Francesc Oliver de Boteller, abbot of the Poblet monastery and general visitor of the Cistercian order, then ordered the nuns to move to the monastery of Santa Maria del Pedregal, [2] [3] located near Tàrrega , which put an end to active life in Vallsanta. After the abandonment of the religious activity the building was left in ruins.