 In the early 16th century the monastery was granted to the knights of the Order of Christ.In the 18th century the main chapel of the apse was greatly expanded in size and was given a rectangular shape.In the 19th century, with the dissolution of the religious orders in Portugal, the monastic church became a simple parish church of Rates.