Finally, at Jorjan, near the Caspian, he met with a friend, who bought near his own house a dwelling in which Avicenna lectured on logic and astronomy.
Firdousi directed his steps to Mazandaran, and took refuge with Kabus, prince of Jorjan, who at first received him with great favour, and promised him his continued protection and patronage; learning, however, the circumstances under which he had left Ghazni, he feared the resentment of so powerful a sovereign as Mahmud, who he knew already coveted his kingdom, and dismissed the poet with a magnificent present.
Tha`alibi, a writer of the 11th century, says that Askar-Mokram had no equal for the quality and quantity of its sugar, " notwithstanding the great production of `Irak, Jorjan and India."
On his return to Khorasan he set on foot a series of new expeditions against Jorjan and Tabaristan, with only partial success.
Mohallab had returned to Irak, after the conquest of Jorjan, when Suleiman was still alive.
Nasr's son Tamim was vanquished and killed, and Nasr retreated to Kumis (Qumis) on the boundary of Jorjan, whither also advanced from the other side Nobata at the head of an army sent by Merwan.
It was necessary first to obtain from Musa a renunciation of his rights; and for that purpose he was recalled from Jorjan, where he was engaged on an expedition against the rebels of Tabaristan.
Khalid, sent the insignia of the Caliphate, with letters of condolence and congratulation, to Musa in Jorjan, and brought the army which had accompanied Mandi peacefully back from Media to Bagdad.
But he returned soon, and after many reverses ruled over Tabaristan and Jorjan for many years.
He had successively fought for the Samanids and the Ziyarids,3 a dynasty of Jorjan, and his son Imad addaula (ed-dowleh, originally Abu 1 Uasan Au) received from Mardawij of the latter house the governorship of Karaj; his second son Rokn addaula (Abu All Uasan) subsequently held Rai and Isfahan, while the third, Moizz addaula (Abu 1 Ilosain Ahmad) secured KermAn, Ahvaz and even Bagdad.
In 1037 Seljuk princes were recognized in Merv and Nishapur, and in the ensuing eighteen years the Seljuks conquered Balkh, Jorjan, Tabaristan, Klwarizm, Hamadan, Rai, Isfahan, and finally Bagdad (1055).
Educated at first in Tus, then in Jorjan, and again in Tit's, he went to college at Nishapur, where he studied under Juwaini (known as the Imam ul-Haramain) until 1085, when he visited the celebrated vizier Nizam ul-Mulk, who appointed him to a professorship in his college at Bagdad in 1091.