Nataša Procházková considered Andrew invaded Coloman's lands in Szepesség sometime between 1222 and 1226, and only a brief skirmish occurred between them. Historian Attila Zsoldos considered the confrontation took place in the first half of 1231, after Andrew was driven from Halych (see below). Zsoldos argued the skirmish was part of wider conflict between Andrew II and his elder sons, Béla and Coloman, who strongly opposed his economic reforms and internal policy. Robert, Archbishop of Esztergom mediated the peace in the dynastic conflict. Second reign Only a smaller faction of the local boyars supported Danylo's realm in Halych, several conspiracies and assassination attempts took place against him within a year. The eldest brother Béla decided to help Andrew to regain his throne. He crossed the Carpathian Mountains and laid siege to Halych together with his Cuman allies led by Bortz in 1230 (or 1229, if GVC is correct), but he could not seize the town and withdrew his troops. Duke Andrew and Sudislav departed for Hungary again. In the second half of 1231, Andrew II and Béla jointly invaded Halych in order to restore his youngest son, Andrew, to the Galician throne. The Hungarian army captured the forts of Yaroslavl (present-day Jarosław, Poland) and Halych. Leader of the Hungarian army, a certain Martinis was killed during the conflict. Andrew II concluded a peace with Danylo at Volodymyr (Vladimir); the young Andrew was restored to the Galician throne. A significant number of Hungarian military force remained in Rus' to support and consolidate Andrew's instabil rule. Andrew plausibly formed an alliance with Mikhail Vsevolodovich of Chernigov in order to attack Vladimir IV Rurikovich, but the latter routed them at Beloberezhye along the river Sluch in the winter of 1232–1233, according to Ukrainian historian Mykhailo Hrushevsky. Thereafter, Vladimir Rurikovich laid siege to Halych in the spring of 1233. Andrew requested reinforcements from Hungary; a considerable army led by Denis Türje arrived to the province in the autumn of 1233. Despite the internal conflicts with the church, Andrew II also prepared to departure for Halych too but had to continue his negotiations which led to the oath of Bereg. However, the Hungarians were defeated by Vladimir Rurikovich and his Cuman allies led by Köten near Peremil in Volhynia. Andrew lost the support of boyars completely. Taking advantage of the situation, Danylo Romanovych seized all of Halych–Volhynia, excluding the capital Halych, which remained under Hungarian