. Though none of the original structure remains, this mosque was the first one built in Egypt, and it was around this location, at the site of the tent of the commander Amr ibn al-As, that the city of Fustat was built. For thousands of years, the capital of Egypt was moved with different cultures through multiple locations up and down the Nile, such as
Thebes and
Memphis, depending on which dynasty was in power. After
Alexander the Great conquered Egypt around 331 BC, the capital became the city named for him,
Alexandria, on the
Mediterranean coast. This situation remained stable for nearly a thousand years. After the army of the Arabian Caliph
Umar captured the region in the 7th century, shortly after the death of
Muhammad, he wanted to establish a new capital. When Alexandria fell in September 641,
Amr ibn al-As, the commander of the conquering army, founded a new capital on the eastern bank of the river. The early population of the city was composed almost entirely of soldiers and their families, and the layout of the city was similar to that of a garrison. Amr intended for Fustat to serve as a base from which to conquer North Africa, as well as to launch further campaigns against Byzantium. Fustat developed as a series of tribal areas,
khittas, around the central mosque and administrative buildings. The majority of the settlers came from
Yemen, with the next largest grouping from western
Arabia, along with some
Jews and Roman mercenaries. Arabic was generally the primary spoken dialect in Egypt, and was the language of written communication.
Coptic was still spoken in Fustat in the 8th century. Plate with Bird Motif, 11th century. Archaeological digs have found many kilns and ceramic fragments in Fustat, and it was likely an important production location for Islamic ceramics during the Fatimid period. Fustat was the centre of power in Egypt under the Umayyad dynasty, which had started with the rule of
Muawiyah I, and headed the Islamic
caliphate from 660 to 750. However, Egypt was considered only a province of larger powers, and was ruled by governors who were appointed from other Muslim centres such as
Damascus,
Medina, and
Baghdad. Fustat was a major city, and in the 9th century, it had a population of approximately 120,000. But when General
Gawhar of the
Tunisian-based
Fatimids captured the region, this launched a new era when Egypt was the centre of its own power. Gawhar founded a new city just north of Fustat on August 8, 969, naming it
Al Qahira (
Cairo), and in 971, the Fatimid Caliph
al-Mu'izz moved his court from
al-Mansuriya in Tunisia to Al Qahira. But Cairo was not intended as a center of government at the time—it was used primarily as the royal enclosure for the Caliph and his court and army, while Fustat remained the capital in terms of economic and administrative power. The
Persian traveller
Nasir-i-Khusron wrote of the exotic and beautiful wares in the Fustat markets: iridescent pottery, crystal, and many fruits and flowers, even during the winter months. From 975 to 1075, Fustat was a major production centre for
Islamic art and
ceramics, and one of the wealthiest cities in the world. One report stated that it paid taxes that were equivalent to US$150,000 per day, to the administration of Caliph al-Mu'izz. Modern archaeological digs have turned up trade artefacts from as far away as Spain, China, and
Vietnam. Excavations have also revealed intricate house and street plans; a basic unit consisted of rooms built around a central courtyard, with an arcade of arches on one side of the courtyard being the principal means of access. ==Destruction and decline==