 And in any case he was named a cardinal in December 1327, and on 11 January 1328 a successor to him at Siponto was appointed by Pope John XXII.In 1326, the difficulties over the office of Emperor between the Habsburgs and the Wittelsbach Louis the Bavarian brought increased danger to the city of Rome.The Pope was still hostile to Louis, having excommunicated him repeatedly, and yet Louis intended to be crowned King of the Lombards and Holy Roman Emperor, which involved a visit to Italy and especially Rome.