property, Andrew restored properties to the archbishop. Berend says Robert bemoaned the situation of the Catholic Church in the realm, as several clergymen lost their offices due to the presence of non-Christian financial experts. Denis was a member of that three-member diplomatic delegation – together with Simon Nagymartoni and Rembald de Voczon – to the Holy See, which the king sent for a peaceful reconciliation and to complain Robert's activity. Pope Gregory sought an agreement and persuaded Robert to suspend the interdict. Upon Andrew's demand, he sent Cardinal Giacomo di Pecorari as his legate to Hungary and promised that nobody would be excommunicated without the pope's special authorization. On 20 August 1233, in the forests of Bereg, Andrew II vowed in the presence of Giacomo di Pecorari and Bartholomew of Veszprém that he would not employ Jews and Muslims to administrate royal revenues, and would pay 10,000 marks as compensation for usurped Church revenues. The papal legate expressly required that Denis also swear at the agreement in the forest of Bereg. Dismissal and death Duke Béla had practically taken control of the country before the death of his ailing father. Sometime at the turn of 1234 and 1235, Denis was succeeded as Palatine of Hungary by Denis Tomaj, a supporter of the duke. Andrew II died on 21 September 1235. Béla, who succeeded his father without opposition, was crowned king by Archbishop Robert in Székesfehérvár on 14 October. Immediately after his coronation, Béla IV dismissed and punished many of his late father's closest advisors. For instance, he had Denis blinded and Julius Kán imprisoned, according to the contemporaneous Roger of Torre Maggiore's Carmen Miserabile. According to a charter of Béla IV, Denis was convicted for "spoiling the realm and disloyalty". His successor, Denis Tomaj claimed his predecessor proved to be an "unjust judge", which resulted his conviction. Denis was also accused by Béla IV and his brother Duke Coloman of having, in King Andrew's life, an adulterous liaison with Queen Beatrix, the king's young widow. Béla ordered her imprisonment, but she managed to escape to the Holy Roman Empire, where she gave birth to a posthumous son, Stephen in 1236. Béla and Coloman considered her son a bastard, who conceived from an adulterous relationship between Palatine Denis and Queen Beatrix. Stephen was father of Andrew III, the last monarch of the Árpád dynasty. The blinded Denis died in prison custody