His career in the decade was greatly impacted by outside events. In 1522 there was plague in Rome, and he may have left Rome for a long period; there is little evidence of his activity for over a year. In 1523 Giulio de Medici became Pope Clement VII, and thereafter Sebastiano seems to have been a part of Vatican court life. He painted a number of portraits of the pope, and other paintings for him. In 1527 he seems to have remained with the pope all through the horrors of the Sack of Rome and his nervous retreat to Orvieto, though he seems to have spent time in Venice in 1528 and perhaps 1529, his first known return there since 1511. This catastrophe brought to an end the High Renaissance epoch in Rome, scattering Raphael's workshop and the emerging Roman Mannerists, and largely destroying the confidence of patrons.