 From this year to 1917, Ahmadbayov worked as an architect in Baku Governorate, then in Baku City Council.After the establishment of the Azerbaijan Democratic Republic, Ahmadbayov became the chief architect of Baku and held this post until 1922.Two of the largest mosques in Baku, the Baku-Blue Mosque and Taza Pir Mosque were constructed according to the projects of Ahmadbayov.