Legnica Castle had become a residence of the Silesian dukes in 1163 and from 1248 was the seat of a principality in its own right, ruled by the Silesian branch of the Piast dynasty until the extinction of the line in 1675. Formed by Bolesław II the Bald, Duke of Lower Silesia at Wrocław, Legnica shared the fate of most of the others Silesian duchies, falling into Bohemian, Austrian and eventually—after the First Silesian War—Prussian spheres of influence.
