The Shaddadids were a Kurdish dynasty that ruled in Armenia and Arran between 951 and 1174. It was between the Kura and Araxes rivers. They dominated a large part of the Caucasus until the Seljuk ruler Toghrul came to the region.The dynasty was first established in Dvin, and it also dominated Barda and Ganja. The Shaddadis army organized expeditions against the Bagratuni dynasty and the Khazars from 1020 onwards. Fadl I successful in the beginning, but on his way back from a successful campaign in 1030, he met Georgian and Armenian forces and was defeated. They fought against the Byzantine army between 1047 and 1057. Then the influence of the Shaddadis in the region dwindled. From 1067 onwards, the Shaddadis dynasty was occupied by the Seljuks. It continued as a dependent dynasty until 1174. The cities of Ani and Tbilisi were given as gifts due to his service to the Seljuks.