the heretic side. Although the Crusaders managed to freely overrun the Western Areas and the Hum they could never get a permanent hold of Bosnia proper. In 1237, deemed incapable, Bishop Wildeshausen was replaced by the Pope with a Hungarian Dominican, that conducted terror by burning the Bogomils on stakes. Matej had to retreat to Dubrovnik in 1240, after the numerous crusaders overran his realm. In 1241, the Tartars invaded Hungary and killed Herzog Coloman on the river of Šaj. King Bela IV was on the retreat which enabled Ninoslav to restore control over most of Bosnia. The Bosnian Church prevailed and would continue to play an integral role in the inner politics of Bosnian society until the Ottoman conquest. Split-Trogir conflict In retaliation, Ninoslav punished the Pope's supporters throughout Bosnia after he restored control. His cousin, Prijezda, fled to Hungary. Ninoslav also intervened in the civil war in Croatia between the loyalist city of Trogir and rebelling Split as he was looking to gain more of Split's possessions. He sided with Split which rebelled against King Bela IV and elected Ninoslav as its new Prince. The Split assault on the City of Trogir failed, but the City's surroundings were devastated. In 1244, King Bela sent one of his two armies on Bosnia against Ninoslav. Ninoslav lost Split, as the Hungarian Army, under Slavonia's Ban Dionisus, together with the forces of Trogir took the city in the summer of 1244. A peace treaty was signed on July 19, 1244. The amnesty itself excluded Split's allies, presented by Ninoslav. The other army was led by King Bela and breached to the city of Glaško in Bosnia. Bosnia was not harmed itself by the King's military campaign and a peace was signed on 20 July 1244 with Ban Ninoslav and his brothers and nobility, that confirmed the rights and lands of the Bosnian Church. Bela's negotiations lasted in Glaško from 15th to 21 July. Matej Ninoslav had to only nominally recognize Hungarian rule and kept his possessions abroad, in Slavonia. He also had to grant numerous lands in Bosnia itself, recognizing and keeping the organization and infrastructure of the Catholic Church. Proposed Crusade against Ninoslav The Bosnian heresy remained strong, so King Bela IV and the Roman Catholic Archbishop requested that Pope Innocent IV launch a new Crusade against Ninoslav in 1247. The situation grew very dangerous, so Ninoslav wrote to the