What year did the Babenbergs aquired the Duchy of Styria ?
It however was separated from Austria by the 1379 Treaty of Neuberg , after which Styria , Carinthia and Carniola formed the Inner Austrian territory ruled by the descendants of Leopold III of Habsburg of the Leopoldian line , who took their residence at Graz .