République démocratique d'Azerbaïdjan
Khasmammadov has also been active during establishment of Azerbaijan Democratic Republic in 1918. He was a member of Azerbaijani National Council and one of the co-signers of declaration of independence of Azerbaijan Democratic Republic in Tiflis on May 28, 1918.