 At the end of the 10th century, Samuilo was the Lord of Zahumlje, and the dukedom belonged to king Ivan Vladimir.In 1168, the Dukedom and Zahumlje were conquered by Raški major prefect Stevan Nemanja.Thirty years later, Zahumlje was invaded by Andrija, the Duke of Croatia and Dalmatia.