The Grand Vizier, Suluieman Pasha, was executed and Sultan Mehmed IV, deposed. He imprisoned his most trusted vizier Ya'qub ibn Dawud. The janissary was an ally of Grand Vizier Halil Pasha. Mustafa was supported by Ibrahim Pasha, who became Suleiman's Grand Vizier in 1523. The caravanserai was established near Mount Tabor by Grand Vizier Sinan Pasha around 1581. In Baghdad, papermaking was under the supervision of the Grand Vizier Ja'far ibn Yahya. Ibn Sina was even raised to the office of vizier. This lasted until the long-time vizier Yaqub ibn Killis died in 991. The new Grand Vizier, Nasuh Pasha, did not want to fight with the Safavids. Heimdall confronted Surtur disguised as Odin about the imprisoned Grand Vizier. It is now in the control of a prince and the grand vizier. In icons, he is sometimes depicted wearing the nemes headdress of an Egyptian vizier. Some such titles are diwan, mahamantri, pradhan, wasir or vizier. The ancient Egyptians had a story about "The mouse as vizier". The principal vizier for Upper Egypt was Usermontju.