leo reported his election to charlemagne, sent him the keys of saint peter's tomb and the banner of rome. charlemagne replied that it was his function to defend the church and the pope's to pray for the kingdom and for victory of the army.