After Bolshevik take over of Azerbaijan, Hajinski remained in the country. He died in Baku in 1941.