 He later returned to Iran and entered government service.He was elected as instructor at the newly established Polytechnic in Tehran called Dar ul-Funun, in 1852.He went to Paris in the diplomatic service in 1857.