Amman's importance declined by the mid-8th century after damage caused by several earthquakes rendered it uninhabitable. Excavations among the collapsed layer of the Umayyad Palace have revealed remains of kilns from the time of the Abbasids (750–969) and the Fatimids (969–1099). In the late 9th century, Amman was noted as the "capital" of the Balqa by geographer al-Yaqubi. Likewise, in 985, the Jerusalemite historian al-Muqaddasi described Amman as the capital of Balqa, and that it was a town in the desert fringe of Syria surrounded by villages and cornfields and was a regional source of lambs, grain and honey. Furthermore, al-Muqaddasi describes Amman as a "harbor of the desert" where Arab Bedouin would take refuge, and that its citadel, which overlooked the town, contained a small mosque.