The principal church of the monastery was built in 1540.