As a result, the raiders destroyed Saint Peter's tomb and pillaged the holy shrine. In response Pope Leo IV built the Leonine wall and rebuilt the parts of St. Peter's that had been damaged.
As a result of the raiders' actions, Pope Leo IV took action by building the Leonine wall and repairing parts of St. Peter's that had been damaged.