 The palace was damaged during the 1939 siege of Warsaw and nearly razed during the 1944 Warsaw Uprising.In 1946–50 it was rebuilt in its original neoclassical form.Today it is the seat of the Polish Academy of Sciences.