 The latter earned him an Imperial ban and an expulsion from Vienna in 1236.Though he could later reconcile with the Emperor, the border conflict with Hungary culminated in several clashes of arms after 1242, after King Béla IV of Hungary marched into Austria to reconquer occupied lands.Duke Frederick was killed at the 1246 Battle of the Leitha River, whereby the Babenberg line became extinct in the male line.