In late 1324 or early 1325, Gediminas of Lithuania concluded a military alliance with Poland primarily directed against the Teutonic Knights, a crusading military order. The alliance was cemented by the marriage of Gediminas' daughter Aldona and Władysław's son Casimir. In 1322, Gediminas sent a letter to Pope John XXII with vague promises to convert to Christianity. Seeing a potential new ally, the Pope sent a delegation to Lithuania and by threat of excommunication compelled the Teutonic Knights, who supported Louis V of Germany, to make peace with Gediminas in August 1324. The peace remained in effect for four years until 1328.
Raid
On February 7, 1326, with the help of papal legates, Władysław I concluded an armistice at Łęczyca with the Teutonic Knights and three Masovian dukes which guaranteed safe passage for the Lithuanian troops through Prussia and Masovia while they were in "Polish service". The truce was to last to Christmas 1326 and, according to chronicler Detmar von Lübeck, papal legates even accompanied the army to ensure the Knights observed the armistice. On February 10, 1326, David of Hrodna led 1200 Lithuanian men to join the Polish forces. The joint army looted and robbed Frankfurt, Berlin, and surrounding territories. Thus, the pagans reached Central Europe and struck the Holy Roman Empire which shocked western rulers. Not meeting any organized resistance, they plundered churches and monasteries for about a month. Reportedly, they took 6,000 prisoners as slaves and much booty. The loot was large enough to allow Samogitian duke Margiris to pay 20,000 florins to King John of Bohemia when he raided Medvėgalis in 1329. German chronicles, including Nikolaus von Jeroschin, vividly described atrocities committed by the invaders. They were particularly scandalized by pagan Lithuanians who showed no respect for Christian symbols, establishments, or personnel. Reportedly distraught by Lithuanian cruelty, Masurian nobleman Andrew Gost ambushed and killed David of Hrodna and their way back to Lithuania.
Aftermath
While the raid was a successful military campaign and bought much loot, it was not a political success. The raid further antagonized Poland and the Teutonic Knights. The tension soon turned into the Polish–Teutonic War. Silesian Piasts turned against Poland and recognized suzerainty of King John of Bohemia. The alliance between the Pope and the pagan Lithuanians, subjects of the Lithuanian Crusade, scandalized western rulers and damaged the Pope's reputation. In 1328, Louis succeeded in installing Antipope Nicholas V. The Polish–Lithuanian alliance, which survived to 1331, ruined the Lithuanian alliance with the Duchy of Masovia, which oscillated between Poland, Lithuania, and the Teutonic Knights in attempt to maintain its independence. Gediminas' hopes of creating a Polish–Lithuanian–Hungarian alliance against the Teutonic–Bohemian alliance did not materialize. Instead, the raid encouraged John of Bohemia to join the Lithuanian Crusade and capture Medvėgalis in 1329.