But, in 1690, the third of the famous Kuprilis, Mustafa, brother of Fazil Ahmed, became grand vizier, and the Turk, still further encouraged by the death of Innocent XI., rallied once more.
The feast of Ramazan hereupon occurring, the grand vizier unwisely allowed his own troops to disperse.
In even weightier matters the opinion of the grand vizier was slighted.
In August, Sinan Pasha, the grand vizier - now eighty years of age - took command of the troops for the Hungarian War and left Constantinople, dragging with him the Austrian ambassador in chains.
Avicenna seems to have declined the offers of Mahmud the Ghaznevid, and proceeded westwards to Urjensh in the modern Khiva, where the vizier, regarded as a friend of scholars, gave him a small monthly stipend.