sentences:  In 1180 his son and successor Margrave Ottokar IV finally was elevated to a Duke of Styria by Emperor Frederick Barbarossa.However, Ottokar IV was also the last Otakar duke.The line became extinct upon his death in 1192, whereafter the Styrian lands were inherited by the Babenberg dukes of Austria according to the 1186 Georgenberg Pact.