Sant Guim de la Rabassa is a town of the municipality of Sant Guim de Freixenet, in Segarra. The manor of the town, thanks to a testamentary inheritance from 1641, came to belong to the Jesuits, who established themselves there and renovated the structure of the town, transformed the ancient building into a convent of their order and built a Baroque church over the medieval construction, consecrated to Saint Andrew and Saint William.
The current convent building is from the 18th century. It is rectangular and forms a unit with the chapel dedicated to Saint Andrew and Saint William, located to one of the ends, attached to the remains of the old manor. Next to the lateral wall of the church, at the other side of the path, there are the arches that used to belong to the ancient stables.
After the expulsion of the Jesuits, the building was seized and used as a school and living quarters. This meant that some remodelling had to be carried out. Nowadays, the building in disuse, but in a good state of conservation.