 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.