 The northern edge of the complex housed a chapel to the Holy Mother of Victories.The building also served as a royal residence.In 1738 the complex was bought by the Załuski family and it was there that Józef Jędrzej Załuski started the famous Załuski Library.