The Silesian Piasts retained power in most of the region until the early 16th century, the last (George William, duke of Legnica) dying in 1675. After the Piasts some Lower Silesian duchies were under the rule of Polish Jagiellons (Głogów) and Sobieskis (Oława), Czech Přemyslids and Poděbrads (Münsterberg/Ziębice) and part of Upper Silesia, the Duchy of Opole, found itself back under Polish rule in the mid-17th century, when the Habsburgs pawned the duchy to the Polish Vasas. The Roman Catholic Diocese of Wrocław, established in 1000 as one of Poland's oldest dioceses, remained a suffragan of the Archbishopric of Gniezno until 1821.