Mstislav gave his daughter, Anna, in marriage to Daniel Romanovich who soon occupied the lands between the rivers Wieprz and Bug from Leszek. Outraged by Daniel's attack, Leszek made a new alliance with Andrew II. Their united forces defeated Mstislav's army in three battles in October 1219. Mstislav and Daniel were forced to abandon Halych and Coloman returned to the principality. Andrew most probably made Sudislav's son-in-law, File, the commander of the Hungarian army in Halych around this time, according to Font and Barabás.