sentences:  Under the overlordship of the Carinthian dukes from 976 onwards, the territory evolved to be called "Styria", so named for the town of Steyr, then the residence of the Otakar margraves.It became an Imperial State in its own right, when the Otakars were elevated to Dukes of Styria in 1180.After the Slavic settlement of the Eastern Alps from about 590 and the establishment of the Carantanian principality in the 7th century, the area had fallen under Bavarian suzerainty, when about 740 Prince Boruth asked Duke Odilo for help against invading Avar forces.