Gregory was not the only pope to make changes in the basilica. Over the centuries there was a constant need for repair and addition to the basilica as well as for decoration. In fact, popes often paid more attention to the decoration than to the maintenance of the fabric which is one of the reasons the basilica eventually would have to come down and be replaced in the sixteenth century. The rich décor along with immense quantities of gold and silver votive offerings adorned with gems sometimes serve to tempt foes to sack the basilica. Honorius I (pope 625-638) took the tiles from the Basilica of Maxentius (a secular building, not a worship site) in the Forum to re-roof St. Peters. In 846 Saracen pirates sacked the basilica and took many valuable items with them. Gregory IV (827-844) rebuilt the Atrium—the spacious colonnaded courtyard in front of the basilica proper. In the middle of the eleventh century the building, at that point seven centuries old, was in danger of collapsing and a succession of popes, though largely unsuccessful in raising funds to carry out the work as properly as it should have been done, did what they could to strengthen the structure of the building. Remember, however, that this was not the principal church of Rome at the time. The Pope’s Cathedral was (and still is) the Basilica of Saint John Lateran and it was at the Lateran—not the Vatican—where the pope resided and normally carried out ceremonies.