Justinian took measures to avoid being besieged in his own palace as happened during the Nika riots in January 532. The Chronicon Paschale, Malalas and Procopius all attest the building of a cistern within the Palace.