Answer
Pope John XIX was elected with the support of Conrad II, the Holy Roman Emperor. This was a common occurrence during the Middle Ages, as emperors often used their influence to ensure that their preferred candidates were chosen as popes. Conrad II was interested in having a pope who would be sympathetic to his policies and who would help him to consolidate his power.