developed the peculiar characteristics which we describe as Semitic. The series of Greek, Punic, Roman, and Gothic settlements had left no permanent mark on the Berber population, on their language, or on their culture. At the time of the Arab invasion the country was theoretically under the Byzantine Empire, and the invading Arabs had to meet the resistance of a Greek army; but this was not a very serious obstacle, and the invaders were soon left face to face with the Berber tribes.
The Muslim invasion of North Africa followed immediately after the invasion of Egypt, but the internal disputes of the Muslim community prevented a regular conquest. It was not until a second invasion took place in A.H. 45 (= A.D. 665) that we can regard the Arabs as commencing the regular conquest and settlement of the country. For centuries afterwards the Arab control was precarious in the extreme, revolts were constantly taking place, and many Berber states were founded, some of which had an existence of considerable duration. As a rule there was a pronounced racial feeling between Berbers and Arabs, but there were also tribal feuds, and Arab policy generally aimed at playing off one powerful tribe against another. Gradually the Arabs spread all along North Africa and down to the desert edge, their tribes as a rule occupying the lower ground, whilst the older population had its chief centres in the mountainous districts. During the invasion of 45 the city of Kairawan was founded