 Upon the completion of his education he entered the service of Prince Hossein Ali Mirza Farman Farma son of Fat'h Ali Shah and governor of Shiraz.He was given the title of Khan and of Amir-ol Sho'ara in 1830, when Fath Ali Shah visited Shiraz.In 1838 he came back to Tehran.