 The successful arrangement featured a replacement method of calculating the papal pence on terms favorable for the papacy.Consent was given by Pope John XXII on 20 August 1319, though not directly due to the opposition of John of Luxembourg, king of Bohemia, who also claimed the crown of Poland.The Pope was looking for a way to preserve the rights of Władysław and Poland without infringing on those of John and Bohemia, and found that the Luxembourg claims (despite their tenuous legal basis) referred to Greater Poland, the "kingdom" of Przemysł II.