 Around 1744 the building was converted into a monastery by Antonina Zamoyska.In 1807 four large houses were built in the former marketplace.Between 1817 and 1821 Chrystian Piotr Aigner reconstructed the eastern wing in accordance with contemporary styles and added a seven story high clock tower.