After the end of the Umayyad era in 750, major activity in Bosra ceased for around 300 years until the late 11th-century. In the last years of Fatimid rule, in 1068, a number of building projects were commissioned. With the advent of Seljuk rule in 1076, increasing focus was paid to Bosra's defenses. In particular, the Roman theater was transformed into a fortress, with a new floor added to the interior staircase tower. With the coming to power of the Burid dynasty in Damascus, the general Kumushtakin was allotted the entire Hauran plain as a fief by the "atabeg" Tughtakin. Under Kumushtakin, efforts to enhance the Muslim nature of the city increased with the construction of a number of Islamic edifices. Of these projects was the restoration of the Umari Mosque, which had been built by the Umayyads in 721. Another mosque commissioned was the smaller al-Khidr Mosque built at the northwestern part of the city, which was established under Kumushtakin, in 1134. Kumushtakin also had a "madrasa" constructed alongside the Muslim shrine honoring the "mabrak an-naqa" ("camel's knees"), which marked the imprints of the camel the prophet Muhammad rode on when he entered Bosra in the early 7th-century. In 1147, King Baldwin III of Jerusalem led a Crusader force to capture the city, however his attempt was thwarted, as the Damascene army led by Mu'in ad-Din Unur managed to garrison into Bosra's citadel.