Mirza Yusuf Khan was born in the city of Tabriz of an aritocratic family. Mostashar al-Dowleh was the consul general of Iran in Tbilisi from 1864 to 1867. At the same time, he corresponded with Mirza Fatali Akhundov, and with the help of Akhundov's ideas, Mostashar al-Dowleh wrote the treatise "Yusuf's Code". At the end of 1867, he was appointed as the Paris Chargé d'affaires, and according to his writings, he observed the Exposition Universelle and considered it "beautiful". At the same time he became a member of the Grand Orian Masonic Lodge. Mostashar al-Dowleh completed the famous treatise "A Word" in Paris in the last months of his service there and showed it to Akhundov on the way back to Iran in 1870 in Tbilisi. This treatise was published in 1874 in Iran. In 1882, when Mirza Yahya Mushir al-Dawla came to the Ministry of Justice, he appointed him as his deputy and issued the title of Mostashar al-Dowleh after him, but he resigned from the judiciary due to extortion and corruption in the judiciary. At that time, the Akhtar Istanbul newspaper published criticisms of the Iranian courts, and on the suspicion that he was involved in publishing those criticisms, he was accused and dismissed by the order of Nasser al-Din Shah and sentenced to five months in prison.