The early years of Frederick's reign were marked by external and internal conflicts. He had to overcome the opposition of Tyrolean nobles (who gave him the title "of the Empty Pockets") in 1406/07 and a rebellion in the Bishopric of Trent. He also had to deal with the independence movement in the Swabian Appenzell lands, where the conflict with the Prince-Abbots of St Gall had escalated in 1401, sparking the Appenzell Wars. Frederick had to withstand in a series of longstanding military conflicts, until a peace was concluded in 1410. However, the Appenzell area became a protectorate of the Old Swiss Confederacy in 1411. Back in Tyrol, he had to face the invading forces of Duke Stephen III of Bavaria, whom he defeated in the Lower Inn Valley.