Upon the arrival of the Croats, the area of the Neretva (from the northern Herzegovina mountains to Rijeka Dubrovačka) was established by the prince of Zahumlje - same as Neretva, Primorje and Herzegovina, which also belonged to Ston with Rat (Peljesac) and Mljet. Local rulers acknowledged the supremacy of Byzantium. After Mihajlo Višević, who acknowledged the authority of Bulgarian Simeon, Zahumlje was ruled over by different dynasties. Around 950, it was briefly ruled by Duke Časlav. 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. In 1254, Béla IV of Hungary conquered Bosnia and Zahumlje. From 1304, Zahumlje was ruled by Mladen Šubić, then again for a short period by Serb parishioners, and from 1325 by Stjepan Kotromanić, and finally by Dubrovnik.