 The current building was constructed by the order of Janusz Radziwiłł from 1635 to 1653 according to the design of Jan Ullrich.The building fell in ruin after the Muscovite invasion 1655–60 and remained mostly neglected for centuries.It was further devastated during World War I and only the northern wing of the palace survived.