The conclusion of the Treaty of Kalisz in 1343, was preceded by lengthy diplomatic and legal wrangling with a contentious Polish monarch. The ecclesiastical court of the Pope was also called upon. Pope Benedict XII did not uphold the judgements of the (a pontifical arbitration court process before envoys of Pope Benedict XII, between Poland and the Teutonic Order, that ruled in Poland's favour for the return of the disputed lands and awarded compensation in the amount of 194,500 Grzywna), commissioning a re-examination of the legitimacy of Poland's claims to the disputed lands. In 1339, the Grand Master of the Teutonic Order Dietrich von Altenburg had submitted to the papal commission of inquiry (Papal Curia) a document that the Teutonic Order had acquired in 1309—in the Treaty of Soldin from the Margraves of Brandenburg. From which it emerged that the Brandenburg Ascanians in December 1231, in Ravenna, were enfeoffed with the Duchy of Pomerania by the Roman-German Emperor Frederick II. This enfeoffment of the Ascanians with Pomerania, that had already taken place under the Roman-German Emperor Frederick Barbarossa, was renewed on 8 January 1295, in Mühlhausen.