Nevertheless, the resistance against the Imperial expansion waned as the Silesian territories were again fragmented after the death of Duke Henry II the Pious of Wrocław at the Battle of Legnica in 1241.