 Under the Fatimids, Egypt became the centre of an empire that included at its peak parts of North Africa, Sicily, Jordan, the Levant, the Red Sea coast of Africa, Tihamah, Hejaz, Yemen, with its most remote territorial reach being Multan (in modern-day Pakistan).Egypt flourished, and the Fatimids developed an extensive trade network both in the Mediterranean and in the Indian Ocean.Their trade and diplomatic ties, extending all the way to China under the Song Dynasty (), eventually determined the economic course of Egypt during the High Middle Ages.