The Croats arrived in the area in the 6th century and organised the territory into two duchies by the 9th century. Tomislav became the first king by 925, elevating Croatia to the status of a kingdom, which retained its sovereignty for nearly two centuries, reaching its peak during the rule of kings Petar Krešimir IV and Dmitar Zvonimir.