In 1905, Sheykhzamanli joined "Difai" (Defender) National Committee established by the Ahmed bey Aghayev in Ganja, which in 1917 merged with the National Party of Turkic Federalists established by Nasib Yusifbeyli into Musavat.
Upon the establishment of Azerbaijan Democratic Republic, Sheykhzamanli became an instrumental figure behind the invitation of the Ottoman forces to support the ADR government in its struggle against the Bolshevik Baku Commune.