From Ragusa they headed for Hungary where they settled with other Serbs, Dmitar became "Great Zupan of Zărand" and "Royal Commandant of the city of Villagoš" where there were many Serbs.