Guelph turn
In 1238 Berthold moved the capital of the ecclesiastical state from Cividale to Udine, where he gave orders to erect a cathedral. Under his leadership, the Patriarchate had a flourishing economy and cultural life, supported by a good road network. Udine in central Friuli, which had been a favourite residence of Berthold and his successors since the mid-13th century and soon became a large city. Berthold granted the right to hold trade fairs to Udine. During Berthold's rule, the Friulian parliament began to evolve out of ad hoc patriarchal councils of increasingly greater size, convoked first in 1231 to obtain the financial and military support of the Friulian barons in the near continual wars of patriarchs with their neighbours. Berthold granted various tax exemptions to the nobility of Friuli since 1245. Berthold sought to prevent the expansion of the cruel warlord Ezzelino III da Romano, who tried to expand his influence over Aquileia (or Friuli), despite the fact that both Berthold and Ezzelino were strong pillars of the pro-Emperor Ghibelline party.
Berthold was present in the Siege of Brescia in October 1238, where the Guelphs forced Frederick II to lift the siege. When Pope Gregory excommunicated the emperor in early 1239, Berthold was hesitant to announce the ecclesiastical censure in his patriarchate. Therefore, Berthold was excommunicated too. Berthold allied with Ezzelino in their joint campaign against Treviso, which rebelled against Frederick's rule. Berthold's nephews, King Béla IV of Hungary and Duke Coloman of Galicia requested the pope to absolve their maternal uncle from the excommunication. Gregory IX could not refuse the petition of what he described as "among the Christian rulers especially kind kings", though he had one condition, namely, that Berthold should appear before the papal court personally. The case of Berthold, however, did not come to a rapid conclusion despite Gregory's promise. The pope entrusted his subdeacon, Gregorio di Montelongo, to absolve the Berthold as early as January 1241. Soon, the advancing Mongols invaded Hungary then raided the Holy Roman Empire. Berthold gathered his troops and participated in the defense along the Austrian border, with several other lords and prelates. Berthold fled to Apulia in the spring of 1242. Together with the emperor, Berthold urged the newly crowned Pope Innocent IV to launch a crusade against the Mongols. Innocent entrusted the patriarch to lead a crusade into Hungary in July 1243. He was mandated with the same task in the First Council of Lyon in 1245, but in the end no campaign took place in either case. When negotiations with the emperor about the elevation of Vienna to a bishopric and of Austria (including Styria) to a kingdom were initiated by Duke Frederick in 1245, who succeeded in gaining the rule over the March of Carniola from the Patriarchate of Aquileia. The Austrian duke would have put Anselinus, Berthold's natural son, at the head of this new fiefdom. However, the Austrian–Bohemian and Austrian–Hungarian conflicts (the latter caused Frederick's death in 1246) prevented the implementation of this plan.
During the First Council of Lyon, Frederick II was excommunicated again. To get rid of his predicament and his fear of excommunication and political isolation, Berthold reconsidered his political allegiance and became increasingly distant from the emperor over the years, even after his nephew Otto II died in 1248, which resulted the expiration of the Duchy of Merania. In his later years, Berthold tried to arbitrate between the emperor and the pope, though ultimately to no avail. Berthold entered into a defense alliance with the neighboring city-states of Brescia, Mantua and Ferrara in order to repel a possible punitive campaign of Frederick II. The emperor entrusted Meinhard, Duke of Carinthia to confiscate all of Berthold's possessions in Styria and Carinthia.
Following the abolition of the Duchy of Merania, Berthols established large-scale domains to the patriarchate, for instance Windischgrätz (present-day Slovenj Gradec, Slovenia). Berthold died in Aquileia on 23 May 1251. He was buried in the Basilica di Santa Maria Assunta. With Berthold's death, his line of the counts of Andechs became extinct. He was also the last in a long line of German Patriarchs of Aquileia. His successor Gregorio di Montelongo had led a Guelph coalition against Emperor Frederick II.