Hamdanid dynasty
The city was taken without resistance by the forces of the Rashidun Caliphate under Umar in 639 or 640. Under early Islamic rule, the city served as a local administrative centre. In 717, it was struck by an earthquake and in 927 it was raided by the Qarmatians. Nisibis was captured in 942 by the Byzantine Empire but was subsequently recaptured by the Hamdanid dynasty. It was attacked by the Byzantines once again in 972. Following the Hamdanids, the city was administered by Marwanids and Uqaylids. From the middle of the 11th century onwards, it was subjected to Turkish raids and being threatened by the County of Edessa, being attacked and damaged by Seljuq forces under Tughril in 1043. The city nevertheless remained an important centre of commerce and transport.