 Later on, he joined the Socialist-Revolutionary Party and became one of the 26 Baku Commissars.He is the great-grandson of Mirza Ali Muhammad Aga, vizier of Ibrahim Khalil Khan of Karabakh Khanate.Together with his cousin Yusif Vazir Chamanzaminli, they published a satirical magazine in Russian language in Shusha called "Trickster".