von Berlichingen. Casimir and Duke William IV of Bavaria jointly oversaw the conduct of the war. In 1519, he took part in federal measures against Ulrich of Württemberg; in May 1519, he commanded 700 knights advancing to Ehningen. Disputes with the city of Nuremberg Among the traditional arguments of the Burgraves and Margraves with the Imperial City of Nuremberg was a dispute in 1502 over the protection of the fair in Affalterbach. The City Council claimed to have to right to protect the enclave of Affalterbach itself and Casimir tried to prevent this. The situation developed in a political power game. Strong forces from Nuremberg had arrived in Affalterbach early. Casimir changed course and attacked suburbs of Nuremberg itself. The Nuremberg had to retreat from Affalterbach with heavy losses and surrender their banners, which were put on display in the church in Schwabach. This conflict has been immortalized in folk songs. Casimir was later embroiled in border disputes with Nuremberg. Franconian war Casimir had been a leader of the Swabian League since 1499. In 1522, however, he cancelled his membership, when it became apparent that the Imperial City of Nuremberg, traditionally an enemy of the Burgrave of Nuremberg, and later the Margraves of Nuremberg, intended to start a war against Thomas von Absberg and his allies. The Franconian War broke out in 1523, and several castles of the robber barons were destroyed. The war was documented by Hans Wandereisen in a series of woodcuts. Peasants' War The first actions of the German Peasants' War in 1525 were incursions into the neighboring Bishopric of Würzburg under Bishop Conrad II of Thüngen and into the Bishopric of Bamberg under Bishop Weigand of Redwitz. In the spring of 1525 Casimir and the neighboring princes met in Neustadt an der Aisch to discuss a common response to the riots that threatened to spill over from Swabia into the Odenwald. The discussions were attended by Casimir and the two bishops and the Prince Bishop of Eichstätt and by Count Albert of Hohenlohe-Neuenstein, George of Waldburg and the counts of Limburg, Wertheim, Henneberg and Castell. The proceedings were derailed by mistrust, caused by cheating at the boundaries of their principalities. Casimir opposed the Reformation, unlike his brother George, who supported it. The assault of the peasants and the Black Company overwhelmed the Bishopric of Würzburg. The bishop fled and the defenders retreated to the Fortress Marienberg