Intermittently, whenever the power of Byzantium or of Bulgaria waned, some Serb princeling would try to form a political state on a more ambitious scale, but the fabric always collapsed at his death, and the Serbs reverted to their favourite occupation of quarrelling amongst themselves. Such wore the attempts of [)C]aslav, who had been made captive by Simeon of Bulgaria, escaped after his death, and ruled over a large part of central Serbia till 960, and later of Bodin, whose father, Michael, was even recognized as king by Pope Gregory VII; Bodin formed a state near the coast, in the Zeta river district (now Montenegro), and ruled there from 1081 to 1101. But as a rule the whole of the country peopled by the Serbs was split into a number of tiny principalities always at war with one another. Generally speaking, this country gradually became divided into two main geographical divisions: (1) the Pomorje, or country by the sea, which included most of the modern Montenegro and the southern halves of Hercegovina and Dalmatia, and (2) the Zagorje, or country behind the hills, which included most of the modern Bosnia, the western half of the modern kingdom of Serbia, and the northern portions of Montenegro and Hercegovina, covering all the country between the Pomorje and the Save; to the north of the Pomorje and Zagorje lay Croatia. Besides their neighbours in the east and south, those in the north and west played an important part in Serbian history even in those early days.
Towards the end of the eighth century, after the decline of the power of the Avars, Charlemagne extended his conquests eastwards (he made a great impression on the minds of the Slavs, whose word for king, kral or korol, is derived directly from his name), and his son Louis conquered the Serbs settled in the country between the rivers Save and Drave. This is commemorated in the name of the mass of hill which lies between the Danube and the Save, in eastern Slavonia, and is to this day known as Fru[)s]ka Gora, or French Hill. The Serbs and Bulgars fought against the Franks, and while the Bulgars held their own, the Serbs were beaten, and those who did not like the rule of the new-comers had to migrate southwards across the Save; at the same time the Serbs between the rivers Morava and Timok (eastern Serbia) were subjected by the Bulgars. With the arrival of the Magyars, in the ninth century, a wall was raised between the Serbs and central and western Europe on land. Croatia and Slavonia (between the Save and the Drave) were gradually drawn into the orbit of the Hungarian state, and in 1102, on the death of its own ruler, Croatia was absorbed by Hungary and has formed part of that country ever since. Hungary, aiming at an outlet on the Adriatic, at the same time subjected most of Dalmatia and parts of Bosnia. In the west Venice had been steadily growing in power throughout the tenth century, and by the end of it had secured control of all the islands off Dalmatia and of a considerable part of the coast. All the cities on the mainland acknowledged the supremacy of Venice and she was mistress of the Adriatic.