Pope Benedict IX
Benedict's second period as pope lasted from his return six months later to 1045 when he sold his title to John Gratianus, who was then made pope with the name of Gregory VI.  Benedict abdicated or resigned.