Aliheydar Agakerim oglu Garayev (Azerbaijani: Əliheydər Ağakərim oğlu Qarayev) (June 20, 1896 – April 24, 1938) also spelled as Ali Heydar Garayev, was an Azerbaijani Menshevik and later Bolshevik revolutionary, People's Commissar of Justice of Azerbaijan SSR, People's Commissar for Military and Naval Affairs of Azerbaijan during Soviet period.
[4] According to a known rumour, after establishment of the Soviet republic in Azerbaijan, Garayev lobbied for arrest and execution of one of founders of Azerbaijan Democratic Republic and Chairman of Azerbaijani National Council, Mammed Amin Rasulzade but was cut off in the meeting with Stalin who declared that Rasulzade had saved his life twice and that he would go free.
[6] Nariman Narimanov have criticized Garayev's career with claiming that the source of his mistakes are his "young and hot-blooded personality.
[11] On recommendations from Lavrentiy Beria to Stalin, Aliheydar Garayev was arrested and charged with espionage and preparations for counter-revolutionary activities in the years preceding the Great Patriotic War.
[10][12] Garayev had been awarded with Order of the Red Banner of Labour for his contributions to Bolshevik movement during his terms in office.