In January 1328 he entered Rome and had himself crowned emperor by the aged senator Sciarra Colonna, called captain of the Roman people. Three months later Louis published a decree declaring "Jacque de Cahors" (Pope John XXII) deposed on grounds of heresy. He then installed a Spiritual Franciscan, Pietro Rainalducci as Antipope Nicholas V, who was deposed after Louis left Rome in early 1329.