In 1287 Saint-Hippolyte was invaded and burnt down by Anselm II of Ribeaupierre, and the Duke of Lorraine decided to fortify it. In 1290 Lièpvre was given in fee to Henri I, Sire of Blâmont by Duke Frederick III, but he retained Saint-Hippolyte, and in 1310 completely fortified it with walls and unbridgeable ditches. These precautions did not prevent Saint-Hippolyte from undergoing further attacks. In 1316 Frederick IV of Lorraine received the homage of Ulrich of Werd for these same possessions as well as for Frankenbourg and Châtenois. The heirs of Ulrich refused however to recognize the suzerainty of the duke of Lorraine and sold a part of these fiefs to the bishop of Strasbourg, which led to lengthy litigation before the dukes of Lorraine were able to recover their losses.