His father Ismayil Efendi and his uncle Abdulvahhab Afandi were exiled to Siberia as "instigators of muridism" in "free" settlement as early as 1880.
According to the "Law on the Establishment of the Azerbaijani Majlisi Mabusan" of the National Council of Azerbaijan (November 19, 1918), he was included in the republican parliament from the Guba region and was a member of the Ittihad faction.
Hamdullah Afandi Afandizadeh was one of those who provided special services in preventing the atrocities of the Dashnaks during the genocide committed by Armenians against Azerbaijanis in 1918.
In general, Hamdulla effendi repeatedly faced the armies of David Gelovani, Amazasp, Martikyan, Churaev, Abraab Velnuts in the 18s, as well as Milunin, Moravsky, Shalomov, Molonov, Moyer in the 1920s.
The head of one of the large armed rebel detachments, Hamdullah Efendi, retreated to the high-mountain villages bordering Shamakha.