With the death of King Ludvík II of Bohemia at the Battle of Mohács, Silesia was inherited by Ferdinand I, placing Opole under the sovereignty of the Habsburg Monarchy of Austria. The Habsburgs took control of the region in 1532 after the last Piast duke of Opole – Jan II the Good died. In those days the city was still mainly Polish-speaking (around 63%), with other nationalities represented mainly by Germans, Czechs and Jews. The last two dukes of Opole, Nicholas II and Janusz II the Good, did not master the German language.