In 1885 Hedayat taught at the Dar-ol Fonun, and was made special
chamberlain (
pishkhedmat-e khass) by
Naser al-Din Shah Qajar in 1893. After the death of his father in 1897,
Mozaffar ad-Din Shah Qajar bestowed the title
Mokhber-os Saltaneh on Hedayat, and he accompanied the monarch as a German interpreter on his trip to Europe in 1901. After a year Hedayat returned to Iran and worked as a translator at the imperial court, influencing Mozaffar ad-Din Shah's granting of the
Persian Constitution in 1906. Prior to that, being a member of the circle close to
Mirza Ali Asghar Khan Amin al-Soltan, an influential aristocrat and several time prime minister of Iran, he joined the aforementioned on an around the globe tour in 1903, becoming one of the first Iranians in modern times to visit the Russian Far East, Imperial China, Meiji Japan, Hawaii, and the United States. The intention of the trip was to reach Mecca for performing "Hajj", albeit through an exotic route, and apparently the group derived sheer pleasure from sending postcards and telegrams to rival aristocrats in Tehran, from destinations previously unheard of. He meticulously recorded the events of this escapade in a travelogue which was later published in Tehran. On his return, after briefly serving as Governor General of
Azerbaijan in 1908, he was appointed Governor of Azerbaijan from 1909 until his resignation in August 1911 due to Russian pressure on the central government in Tehran. As Governor General of
Fars province 1912, the central government had to cede to the British insistence to replace him and recalled Hedayat on 13 September 1915. As Minister of Justice, the Interior, Public Instruction, Finance and Public Works, Hedayat headed a number of ministries in several short-lived cabinets. ==Pahlavi era==