Kawkaw, but Ibn Hawqal (writing c. 988) states that the old route from Egypt to the Sudan was abandoned in the reign of the Egyptian ruler Ibn Tulun (ruled 868–884) as some of the caravans were attacked by bandits while others were overwhelmed by the wind-blown sand. The more direct route was replaced by one that went to Sijilmasa before heading south across the Sahara. In the 10th century, Gao is already Muslim and is described as consisting of two separate towns. Al-Muhallabi, who died in 990, wrote in a lost work quoted in the biographical dictionary compiled by Yaqut: Their king pretends before his subject to be a Muslim and most of them pretend to be Muslims too. He has a town on the Nile [Niger], on the eastern bank, which is called Sarnāh, where there are markets and trading houses and to which there is continuous traffic from all parts. He has another town to the west of the Nile [Niger] where he and his men and those who have his confidence live. There is a mosque there where he prays but the communal prayer ground is between the two towns. The archaeological evidence suggests that there were two settlements on the eastern bank of the Niger: Gao Ancien situated within the modern town, to the east of the Tomb of Askia, and the archaeological site of Gao-Saney (Sané in French) situated around 4 km to the east. The bed of the Wadi Gangaber passes to the south of the Gao-Saney occupation mound (tell) but to the north of Gao Ancien. The imported pottery and glass recovered from Gao-Saney suggest that the site was occupied between the 8th and 13th centuries. It is possible that Gao-Saney corresponds to Sarnāh of al-Muhallabi. Al-Bakri writing in 1068 also records the existence of two towns, but al-Idrisi writing in around 1154 does not. Both al-Muhallabi (see quote above) and al-Bakri situate Gao on the west (or right bank) of the Niger. The 17th century Tarikh al-fattash also states that in the 10th century Gao was situated on the Gourma side (i.e. the west bank) of the river. A large sand dune, La Dune Rose, lies on the west bank opposite Gao, but at Koima, on the edge of the dune at a site 4 km north of Gao, surface deposits indicate a pre 9th century settlement. This could be the west