welcomes the poet Nizami. After Muhammad Jahan Pahlavan's death his brother
Qizil Arslan (1186–1191) ascended the throne. He continued his successful struggle against the
Seljuq rulers. At the same time the central power began to get weaker as mamluks who had strengthened their power in their allotments did not want to obey the Sultan. Even
Shirvanshah Akhsitan I who used to be Atabegs' liegeman attempted to intervene the interior affairs of the Eldiguzids and opposed
Qizil Arslans aspiration to the throne. In the response to this, Qizil Arslan invaded Shirvan in 1191, reached to Derbent and subordinated the whole Shirvan to his authority. In 1191
Toghrul III, the last Seljuq ruler was overthrown by Qizil Arslan. Then, by
Khalif's leave, he proclaimed himself a Sultan. The same year Qizil Arslan, who had become the sole ruler of the
Great Seljuq Empire, was assassinated. The power was divided among his three sons:
Abu Bakr,
Qutluq Inandj and
Amir Mihran. Abu Bakr governed Azerbaijan and Arran, and his brothers were the rulers of Khorasan and several neighboring regions. Soon, these three successors began to fight for the throne. Victorious in power struggle, Abu Bakr
"Jahan-pahlavan" ( 1195–1210) had his elder brother Qutluq Inandj assassinated and forced the younger brother, Amir Mihran, to take refuge at the court of the latter's brother-in-law, Shirvanshah
Akhsitan I (1160-1196). The Shirvanshah together with Amir Mihran headed for
Tbilisi, the capital of
Kingdom of Georgia, and appealed for help to Queen
Tamar of Georgia, an official
protector of
Shirvan. Received with great honors at the Georgian court, they were given desired support, and the Georgian army led by Consort
David Soslan marched to Shirvan. ,
Baku|alt= The Eldiguzid atabeg
Abu Bakr attempted to stem the Georgian advance, but suffered a defeat at the hands of David Soslan at the
Battle of Shamkor and lost his capital to a Georgian
protégé in 1195. Although Abu Bakr was able to resume his reign a year later, the Eldiguzids were only barely able to contain further Georgian forays. The State's defense capability was stricken. Khorezmshahs' and Georgians' non-stopping forays aggravated the situation in the country and speeded up its decay. In 1209, the Georgian army
laid waste to
Ardabil – according to the Georgian and Armenian annals – as a revenge for the local Muslim ruler's attack on Ani and his massacre of the city's Christian population. In a great final burst, the Georgian army led an army through
Nakhchivan and
Julfa, to
Marand,
Tabriz, and
Qazvin in northwest
Iran, pillaging several settlements on their way. == Uzbek ==