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.
Border area of Duklja and Travunija in the Bay of Kotor and churches from the 9th (red) and 10th–11th centuries (white)
Vlastimir was the Serbian prince from c. 830 until c. 851. Little is known of his reign. He held Serbia during the growing threat posed by the neighbouring, hitherto peaceful, First Bulgarian Empire, which had expanded significantly toward Serbia.
Emperor Theophilos, who was the overlord of the Serbs, was prohibited to aid Vlastimir in a potential war with the Bulgarians as a peace treaty was in effect. Some historians maintain that he had an important part in the Bulgar-Serb war.