hi, What does "foundations" refer to in this sentence, is it an organization or a building?<br/><br/>"The magistrate allowed the monastics to continue living in their monasteries and foundations, certainly until 1590. "