Born as the eldest son and heir of the formelry hereditary ruler of the khanate of Iravan, Mohammad Khan Qajar-Ziyadlu, from a cadet branch of the Qajar dynasty of Persia, Mohammad Hassan Khan moved from the Caucasus to Tehran, was married there to Princess Mahrokhsar Khanom "Fakhr od-Dowleh", daughter of the crown prince Abbas Mirza and sister of the future Mohammad Shah, and got important govermental posts.