first phase of the conflict was already noted in the years 1274–1276, concluded with arbitration which was not satisfied any of the parts. The disputes erupted again in 1282; this time, the conflict was for the lands and properties seized by the church in a difficult period that followed after the Battle of Legnica, and for the violation of the immunity of the Church hierarchy in trials. At the beginning of 1282, the Bishop sent their complaint to the Papal Legate Philip of Ferno, which was to address the settlement of the dispute. His ruling was favorable to the Church hierarchy, and Henry IV appealed. In 1283 Henry IV organized a big Episcopal convention in Nysa, whose main attraction was a knight's tournament. However, the tensions continued and Thomas II, using the support of the Papal Legate, and wanting to break the rebelliousness of Henry IV he excommunicated him and the whole Duchy in March 1284. However, the Duke of Wrocław refused to subject to the Bishop's will and in the same year appealed to Pope Martin IV. It soon became clear, of course, that he could not expect a positive message from Rome. Despite Thomas II's efforts to subordinate the local clergy under his rule, several religious Orders remained faithful to Henry IV, among others, the Franciscans. The conflict continued, even after the unsuccessful attempts for mediation by the Archbishop of Gniezno, Jakub Świnka. In 1285 Henry IV took advantage of his power over the clergy and confiscated some lands which belonged to the bishopric Duchy of Nysa–Otmuchów. The humiliated Bishop Thomas II was forced to emigrate to the Duchy of Racibórz. The last act of the dispute took place in 1287 when Henry IV entered Racibórz. Thomas II was no longer able to escape and finally decided to subordinate to the Duke of Wrocław. But Henry IV was generous in his triumph: he restored the rich lands obtained earlier from the Bishopric and also founded a Kolegiata consecrated to the Holy Cross. Meanwhile, in foreign politics, Henry IV continued to try to obtain the subordination of the other Silesian Dukes, which indirectly could bring him the Royal Crown. In 1284 he used the betrayal of the Greater Poland noble family of Zaremba (Thomas II's family) as a pretext to capture the town of Kalisz. It soon became clear that the Dukes of Greater Poland never accepted this loss,