History of the building stretches back to the 17th century, it underwent its greatest period of prosperity during the period of Izabela and Adam Czartoryski.