After Rudolf's death on 27 July 1365, Albert III and Leopold (their elder brother Friedrich had died in 1362) assumed the rule over the Habsburg lands, with Albert taking the additional rights as eldest. While Albert ruled, Leopold became a general leading Habsburg troops in battle. In 1368 he defeated a Bavarian incursion into Tirol, bringing all of Tirol under Habsburg authority in 1370. In 1372 Leopold broke with his brother over rights, prestige and income that he felt he was owed. On 25 July 1373 the brothers signed a peace treaty which granted Leopold control over Tirol, Further Austria and Carniola while income would be split between the dukes. In 1375 their relative Enguerrand VII de Coucy led a mercenary army into Alsace and Switzerland to capture the Habsburg possessions of Sundgau, Breisgau and the county of Ferrette in the Gugler war of 1375. After Leopold was unable to defeat his cousin, he retreated to Breisach on the Rhine. A coalition of Swiss cities then attacked and drove the Gugler army out of their country and ended the war.