the duchy underwent various future territorial changes, becoming increasingly small until the mid-15th century, when it would start to expand again, resulting in the recreation of the duchy of opole and racibórz under duke jan ii the good in 1521. jan however died without issue in 1532 and the opole line of the piasts became extinct, whereafter opole and racibórz as feudal fiefdoms reverted to the sovereignty of the bohemian crown. it would then fall to margrave george of brandenburg-ansbach from the house of hohenzollern, who had signed his inheritance treaty with duke jan in 1522 with the consent of the bohemian king ferdinand i of habsburg. between 1645 - 1666 opole was held in feu by the polish house of vasa, reverting to the habsburg kings of bohemia. in 1742 it was annexed and incorporated into the kingdom of prussia.