While working at the Prince's Court, he accepted an offer to serve as the confidential secretary to Lala Mustafa Pasha, a former mentor to the Prince. For the next twenty years, his life paralleled that of his employer, who by that time was a Grand Vizier. Âlî's duties took him various parts of the Ottoman Empire and the Middle East including Aleppo, Damascus and Egypt.[2]