the first imperial residence of the Holy Roman Empire. In 1333, Emperor Louis sought to counter French influence in the southwest of the empire so he offered Humbert II of Viennois the Kingdom of Arles which was an opportunity to gain full authority over Savoy, Provence, and its surrounding territories. Humbert was reluctant to take the crown due to the conflict that would follow with all around him, so he declined, telling the emperor that he should make peace with the church first. Emperor Louis also allied with King Edward III of England in 1337 against King Philip VI of France, the protector of the new Pope Benedict XII in Avignon. King Philip VI had prevented any agreement between the Emperor and the Pope. Thus, the failure of negotiations with the papacy led to the declaration at Rhense in 1338 by six electors to the effect that election by all or the majority of the electors automatically conferred the royal title and rule over the empire, without papal confirmation. King Edward III was the Emperor's guest at the Imperial Diet in the Kastorkirche at Coblence in 1338 and was named Vicar-General of the Holy Roman Empire. However in 1341, the Emperor deserted Edward III but came to terms with Philip VI only temporarily. For the expected English payments were missing and Louis intended to reach an agreement with the Pope one more time. Imperial privileges Louis IV was a protector of the Teutonic Knights. In 1337 he allegedly bestowed upon the Teutonic Order a privilege to conquer Lithuania and Russia, although the Order had only petitioned for three small territories. Later he forbade the Order to stand trial before foreign courts in their territorial conflicts with foreign rulers. Louis concentrated his energies also on the economic development of the cities of the empire, so his name can be found in many city chronicles for the privileges he granted. In 1330 the emperor for example permitted the Frankfurt Trade Fair, and in 1340 Lübeck, as the leading member of the Hanseatic League, received the coinage prerogative for golden gulden. Dynastic policy In 1323 Louis gave Brandenburg as a fiefdom to his eldest son Louis V after the Brandenburg branch of the House of Ascania had died out. With the Treaty of Pavia in 1329 the emperor reconciled the sons of his late brother Rudolph and returned the Palatinate to his nephews