Updated: Aug 22
It was built for the will of the king Jaume el Just and his wife Elisenda de Montcada. Once the king died, Elisenda moved in the monastery until her death.
We can still see her grave from two points of view: one is from the inside of the church, where Elisenda is represented as a queen. Another is from the inside of the cloister, where she is represented as a nun.