king, who is afterwards to become emperor. This right was given them by the Apostolic See when it transferred the imperial dignity from the Greeks to the Germans in the person of Charlemagne. The right to investigate and decide whether a king thus elected is worthy of the imperial dignity belongs to the pope, whose office it is to anoint, consecrate, and crown him; otherwise it might happen that the pope would be obliged to anoint, consecrate, and crown a king who was excommunicated, a heretic, or a pagan. If the pope finds that the king who has been elected by the princes is unworthy of the imperial dignity, the princes must elect a new king or, if they refuse, the pope will confer the imperial dignity upon another king; for the Church stands in need of a patron and defender. In case of a double election the pope must exhort the princes to come to an agreement. If after a due interval they have not reached an agreement they must ask the pope to arbitrate, failing which, he must of his own accord and by virtue of his office decide in favour of one of the claimants. The pope's decision need not be based on the greater or less legality of either election, but on the qualifications of the claimants. Despite papal support, Otto could not oust his rival Philip until the latter was murdered in a private feud. His rule now undisputed, Otto reneged on his earlier promises and set his sights on reestablishing Imperial power in Italy and claiming even the Kingdom of Sicily. Given the papal interest to keep Germany and Sicily apart, Innocent now supported his ward, King Frederick of Sicily, to resist Otto's advances and restore the Staufen dynasty to the Holy Roman Empire. Frederick was duly elected by the Staufen partisans. The conflict was decided by the Battle of Bouvines on 27 July 1214, which pitted Otto, allied to King John of England against Philip II Augustus. Otto was defeated by the French and thereafter lost all influence. He died on 19 May 1218, leaving Frederick II the undisputed emperor. Meanwhile, King John was forced to acknowledge the Pope as his feudal lord and accept Stephen Langton as Archbishop of Canterbury. In his turn, Frederick II would later become a bitter opponent of the papacy once his empire was secure. Feudal power over