Solovki prison camp
After Bolshevik invasion of Azerbaijan on April 28, 1920, he worked in the education sector until his arrest in 1922 by Soviet authorities. He was held in prison for 3 years and then sent to Solovki prison camp in Russia. Even though he was released in 1928 and returned to Baku, Hajinski was arrested anew in 1938 and sent to Vyatka prison camp in Kirov Oblast of Russia where he died in 1942. In 1956, after his death, he was declared not guilty of any crime.