 Following the devastations wrought by the Deluge, the "Villa Regia" was rebuilt twice, in 1652 and 1660, to designs by Izydor Affait or Titus Livius Burattini, and came to be called the "Kazimierz Palace" for King John II Casimir, who favored it as a residence.Abandoned in 1667, the palace later became the property of King John III Sobieski.In 1695, the building was totally destroyed by fire.