The Battle of Goychay (; ; ) or Raid on Goychay (, ), was a series of clashes that took place from 27 June to 1 July 1918, between Ottoman–Azerbaijani coalition forces led by Nuri Pasha and a coalition of the Soviet 11th Army and Armenian Dashnak forces. The initial battle ended on 30 June, but minor clashes continued until 1 July. Despite being outnumbered six to one, the Central Powers were able to defeat the Armenian–Soviet forces before they reached Ganja, the headquarters of the Ottoman Islamic Army of the Caucasus. The Ottoman–Azerbaijani forces seized control of the lands from Goychay to Shamakhi. Armenian–Soviet rule in the region ended as a result of the battle.
Background The Shaumian-led Baku Commune decided to launch a military operation to prevent the Ottoman Army from recovering in Ganja. The commander of the Military and Maritime Affairs Committee of the Baku People's Commissariat Grigory Korganov signed an order on 4 June 1918 asking the Red Army to take action. He gave instructions to the Armenian–Bolshevik–Russian forces to capture the plain up to Yevlakh and seize the Yevlakh bridge. On 6 June, Armenian and Russian–Bolshevik troops set off from Baku to Kazi-Magomed (modern-day Hajigabul). They pillaged Kazi-Magomed and using fire razed the surrounding villages.
The Red Army forces, which began to gather at Kazi-Magomed Station, set off on 10 June for Ganja, then the capital of the Azerbaijan Democratic Republic. There was a small military unit led by Georgian-born Levan Makalov, consisting of Georgians and Azerbaijanis against the Red Army. The coalition forces seized the Syghyr Station on 10 June. At this time, Shaumian learned the Ottoman military forces had not yet reached Ganja, where Armenian residents were clashing with the Ottoman–Azerbaijani troops. He wanted to take advantage of this situation, which was favourable to the Baku commissioner. The seizure of the Syghyr Station greatly encouraged Shaumian. In a telegram he sent to Vladimir Lenin, he wrote:
Kyurdamir The first branch of the Red Army forces moved westward along the Baku–Hajiqabul railway, leading to the Myusyuslyu Station, while the other branch passed through Hajigabul and reached Kyurdamir. The Red Army forces in the region gathered and attacked Kyurdamir. Resistance by the militia forces, which consisted of Azerbaijanis who tried to defend the city, was unsuccessful. The Red Army took control of the station, along with the city itself. The occupation of Kyurdamir by the Bolshevik-Dashnak forces made the coalition forces in Ganja nervous. This was a serious hindrance to the advance of the Islamic Army of the Caucasus to Baku.
Shamakhi, Aghsu and Ismailly The third branch of the Red Army also moved from the north of Baku. Moving along the Baku–Ganja highway to the north-west, they entered Maraza and Shamakhi. The Bolshevik-led Armenian forces attacked the village of Bijo, resulting in a battle between the village population and 400 Armenian troops. The battle ended in a decisive Azerbaijani victory. Having suffered an unexpected heavy defeat, the Bolsheviks sent a larger invasion force to the village. Hearing of this, the village residents were forced to move to Aghsu and then to Goychay. After burning down Bijo, the Armenian–Bolshevik force advanced to the town of Aghsu, then to the villages of Garamaryam and Bygyr. The 1st and 3rd divisions of the 11th Army captured Ismailly and its surrounding settlements to the north of Garamaryam. On the morning of 16 June, the 11th Army's 3rd division forces attacked the Azerbaijani, Dagestani and Georgian militants in the region. At the end of the battle, which lasted over seven hours, the coalition forces were forced to retreat to Goychay. The 11th Army started to gain more support from the Armenian and Russian-populated villages in the region.
Comparison of forces Soviet historians claim the Ottoman Army had a numerical advantage over the Bolsheviks, but Mustafa Görüryılmaz notes that in reality, the opposite was true. He writes that "during the beginning of the battle, the Turkish military force that had reached Azerbaijan numbered fewer than five thousand. While the Red Army force had surpassed 30 thousand soldiers with the arrival of the Armenian groups". The number of Azerbaijani soldiers who fought in the battle is unknown but had to be fewer than 5,000. The first military institution, the Azerbaijani Special Corps (ASC) led by Ali-Agha Shiklinski, which was established on 26 June, consisted of fewer than 5,000 men, although their possible involvement is unclear. Ali-Agha Shiklinski's minor involvement in the battle also indicates that the ASC might have fought alongside the Ottoman army. Furthermore, an unknown number of volunteers from Aghdash, Aghstafa, Aghsu, Barda, Ganja, Goychay, Shaki, Yevlakh and Zagatala also joined the Ottoman–Azerbaijani coalition forces.
Shaumian's and the Red Army's forces were not composed of soldiers who originated from Azerbaijan. They had served previously in the Russian Imperial Army, defecting after the October Revolution. Although most of the Dashnak forces that also fought during the battle were from Western Armenia, many of them were from the Armenian Democratic Republic and the Azerbaijan Democratic Republic. In a telegraph sent to Lenin Shaumian said that the "Bolshevik–Dashnak forces showed great courage at the Battle of Goychay, but the commanders leading the army acted extremely cowardly". He also noted that anti-communist propaganda carried out by members of the British Secret Intelligence Service had a great impact on the defeat of the army.
A Russian cossack detachment in Persia, with around one thousand men, was led by Lazar Bicherakhov. Although aligned with the White movement, Bicherakhov entered into negotiations with the Baku Commissars who were trying to save the situation. They accepted his offer of assistance in the fight against the Ottoman-Azerbaijani coalition forces. His detachment arrived in Alat via the Caspian Sea from the port of Bandar-e Anzali. On 7 July, his detachment was sent to the Kyurdamir front, but suffered heavy casualties. Bicherakhov was appointed commander of the Bolshevik-Dashnak-Cossack forces under the overall supervision of the Grigory Korganov. However, Bicherakhov did not fully obey Grigory Petrov's orders, which caused confusion among the Bolsheviks, Armenians and Cossacks. On 30 July, Bicherakhov, abandoned by the Bolshevik and Armenian units that surrounded him having realized the futility of military operations against the Ottoman-Azerbaijani troops. He fled to Dagestan with his detachment, thereby exposing the northern section of the front. "I refused the command of the army of deserters and cowards", he wrote to his brother, Georgi Bicherakhov. According to Bicherakhov, over the period of the fighting, his unit lost more than 100 soldiers.
First assault Veysalli and Garamaryam The headquarters of the Islamic Army of the Caucasus was located in Ganja, then known as Elisabethpol. Their members concluded there was no physical barrier between them and the railway, and this situation would pose a great threat to the capital. Nuru Pasha calculated the real threat to Ganja would come from the Red Army forces near Goychay. The clashes that had occurred in the Goychay region were a turning point for the Red Army, causing their withdrawal from Azerbaijan leading to the nation's independence.
All of the soldiers of the 5th Caucasian Infantry Division of the Caucasus Army Group had not yet reached Ganja. The 10th Caucasian Infantry Regiment crossed the Vanadzor-Dilijan road and entered Aghstafa. They reached Goychay on 15 June. Nazım Bey and his soldiers were sent to the Myusyuslyu and Kyurdamir fronts. The 10th Caucasian Infantry Regiment, led by Topal Osman, was sent to the Garamaryam front. After some days of fighting, the Ottoman forces defeated the Armenian troops, resulting in them retreating to the village of Galakar.
The Chief of Staff of the Islamic Army of the Caucasus in Myusyuslyu, Nazım Bey, instructed Osman Bey to carry out an intelligence assault on Armenian-Soviet forces. According Topal Osman's order, the 28th Battalion took action on 17 June against the Armenian-Bolshevik forces to the west of Garamaryam. Continuing the operation along the road, the 28th Battalion were caught in a Soviet ambush having failed to take timely measures. After a bloody fight, the Ottoman forces retreated to the village of Veysalli.
Seeing the situation had become dangerous, Topal Osman moved his 30th and 28th Battalions to protect both sides of the 28th Battalion. However, Bolshevik forces attacked these battalions in an area of extremely steep valleys and hills. The 29th Battalion, were attacked from both sides, were able to move to the village of Veysalli after a very bloody fight.
During the day, neither side were able to defeat the other in the hot summer weather. When darkness fell, they interrupted the clashes and moved to their original positions. This, the first significant battle of the Ottoman Islamic Army of the Caucasus in the region, resulted in failure near Garamaryam. The morale of the Bolsheviks, especially the 3rd division and its leader Hamazasp Srvandztyan, had risen dramatically. They were strengthened further in occupied Garamaryam and seized some important positions allowing an attack on Goychay.
The Ottoman–Azerbaijani coalition army lost around 200 soldiers in the first battle that occurred near the village of Garamaryam; the number of wounded was 156. The Armenian-Soviet forces captured a few cannons and ammunition from the coalition army.
Myusyuslyu The commander of the 10th Caucasian Infantry Regiment ordered Topal Osman to distract the Bolsheviks near Garamaryam to prevent them from attacking Goychay. Topal Osman did not expect additional forces from Ganja to reach the front. The Caucasian Army of Islam troops in Myusyuslyu, under the leadership of Nazım Bey, decided to launch an intelligence attack on the Red Army forces without permission from the commander, Nuru Pasha. They launched this operation to gather information about the enemy's strength and positions. At the time of the attack, the Ottoman-Azerbaijani reserve forces were not even released. At the same time, the double envelopment manoeuvre used by the Ottoman Army in such battles were not applied.
Second assault
After this defeat, Nuru Pasha, commander of a force consisting of Azerbaijanis Ali-Agha Shikhlinsky and 5th Caucasus Infantry Division chief of staff Rüştü Bey, left Ganja and arrived at Myusyuslyu Station on 18 June. There, they met with the chief of staff of the Islamic Army of the Caucasus, Nazım Bey, and commanders of the 29th Regiment in Veysalli and discussed the status of the war. Then, Nuru Pasha and few other high-ranking generals moved to Goychay, where they met with the commander of the 10th Caucasian Infantry Battalion, Lieutenant Colonel Topal Osman, and again discussed the state of the war.
According to reports, Bolshevik Red Army forces had burnt down more than 50 villages on the road between Baku and Garamaryam. They massacred many of the Azerbaijanis living in those villages. Those able to escape sought refuge in Goychay and surrounding settlements. The number of refugees from Shamakhi, Ismailly and surrounding settlements surpassed 400,000.
Red Army forces were able to recruit Armenians and Russians from surrounding villages and gather an army of 30,000 men. An attack on the Bolsheviks by the 5th Caucasian Infantry Division alone would have been suicidal.