Travunia (; ; ; ) was a South Slavic medieval principality that was part of Medieval Serbia (850–1371), and later the Medieval Bosnia (1373–1482). The principality became hereditary in a number of noble houses, often kin to the ruling dynasty. The region came under Ottoman rule in 1482. Its seat was in the city of Trebinje. In the 9th and 10th centuries, the Župa of Travunia was held by the Belojević noble family, who were entitled the rule during the reign of Prince Vlastimir (r. 830–850), of the Vlastimirović dynasty. After the death of Časlav, the last dynastic member, the principality disintegrated, and the provinces were annexed by the Bulgars and Byzantines. In 1034, Stefan Vojislav (the founder of the Vojislavljević dynasty) incited a rebellion and renounced Byzantine rule, becoming the Prince of Serbs, ruling from the seat at Duklja. In the early 12th century, Desa of the Vukanović dynasty wrestled the region, and it continued under the rule of the Nemanjić dynasty (1166–1371), either held by dynastic members or close associates (most often military commanders), of which was the notable Vojinović noble family. After Nikola Altomanović, the holder of a large province during the fall of the Serbian Empire, was defeated in 1373, his estates were divided between Prince Lazar Hrebeljanović of Serbia, Đurađ I Balšić of Zeta, and Ban Tvrtko I Kotromanić of Bosnia. Trebinje continued under the Bosnian crown in the hands of the Pavlović family, then in 1435, it became part of the Duchy of Saint Sava of the Kosača family, in Ottoman vassalage. It was finally annexed in 1482 by the Ottomans and organized into the Sanjak of Herzegovina. History Early Middle Ages The Slavs invaded the Balkans during the reign of Justinian I (r. 527–565), when eventually up to 100,000 Slavs raided Thessalonica. The Western Balkans was settled with Sclaveni (Sklavenoi), the east with Antes. The Sklavenoi plundered Thrace in 545, and again the next year. In 551, the Slavs crossed Niš initially headed for Thessalonica, but ended up in Dalmatia. In 577 some 100,000 Slavs poured into Thrace and Illyricum, pillaging cities and then settling down. Charlemagne, King of the Franks from 768 until his death in 814, expanded the Frankish kingdom into an empire that incorporated much of western and central Europe. Dalmatia which was southeast of the Frankish empire, was in the hands of the Croats and Serbs. Radoslav of Serbia