 In 1690, he was appointed as the governor of Damascus (now in Syria) and Tripoli (now in Lebanon).On 27 March 1693, he succeeded Çalık Ali Pasha as the grand vizier.Transylvania (a region corresponding to modern-day western Romania; ) was then under Austrian occupation, and in the summer of 1693, Mustafa Pasha campaigned to take it for the Ottomans.