After these developments, Colonel Markozov, having received new directives from Grand Duke Michael in Tiflis, returned to Chikishlyar in June 1872. According to the orders he had received, in the summer and autumn of 1872 he was to complete the extension of Russian influence east of the Caspian and thereby increase the pressure on the Khanate of Khiva. Thus the Khanate of Khiva, whose population consisted of Turkmens and Uzbeks, could not withstand the siege carried out by the forces of Tsarist Russia in April and May 1873 and surrendered. While some of the Khivans accepted Russian sovereignty, others crossed the Karakum desert and joined the other Turkmen tribes. In 1874 Tsarist Russia established the Governorate of the Trans-Caspian Region, subordinate to the Military Governorate of the Caucasus. This openly showed that Turkmenistan would be occupied. Indeed, when this governorate began to interfere in the internal affairs of the Turkmens, the traditional Turkmen Assembly, convened under the chairmanship of Nur Verdi Khan at the end of June 1874, held a general meeting on the policy to be pursued towards the Russians. As a result of this meeting, the defense of independence against the Russians was generally accepted. After the meeting the Turkmens, seeking to come under the protection of the British umbrella, sent a delegation to the Emirate of Afghanistan, which was under British dominance, and declared that they were ready to accept Afghan rule. However, the British, who did not consider it appropriate to spoil their relations with the Russians, responded negatively to this request of the Turkmens. Because of the negative attitude of the British, in the spring of 1876 a Turkmen delegation went to Tehran and requested assistance from Iran. Thereupon the Ambassador of Tsarist Russia, Zinoviev, delivered a note to Iran stating that any agreement to be concluded would not be recognized by his government, and raids on Turkmen villages were also intensified during this period.
In order to bring the Turkmens under its rule, Tsarist Russia launched a large military operation in the spring of 1877 under the command of General Lomakin. The Turkmens, learning of the movement of the Russian forces in time, evacuated border towns such as Bami, Burma and Kizil-Arvat and withdrew to the fortified stronghold of Gök-Tepe. Russian forces entered Kizil-Arvat on 7 May 1877, and on 12 May 1877 the first serious clash took place at Kizil-Arvat with the Turkmens under the command of Nur Verdi Khan, and the Turkmens were defeated in the face of superior firepower. However, because of the 1877–78 war (the "War of '93") that broke out between the Ottoman State and Tsarist Russia, a significant part of the Russian units in Turkmen territory, together with General Lomakin, were recalled to the Caucasus in June 1877.
Although the withdrawal of the Russian units brought relief to the Turkmens, these units began to return to the eastern shore of the Caspian at the end of 1878. Under the influence of the victory it had won over the Ottoman State, Tsarist Russia decided on 2 February 1879 to occupy Turkmenistan. General Lazarev, commander of the 1st Corps of the Caucasus Army, known for his harshness in the wars waged against the Ottoman State and Imam Shamil, was appointed to command the campaign to be undertaken in the spring of 1879. Lazarev appointed General Count Broch commander of the infantry units, General Prince Wittgenstein commander of the cavalry units, Colonel Dolgorukov commander of the vanguard units, and the Military Governor of the Trans-Caspian region, General Prince Lomakin, as adviser, and began preparations in early March 1879; in order to split the Turkmen forces in two, he telegraphed the Governor-General of Turkestan, General Kaufman, asking him to act as though Merv were going to be attacked from the Amu Darya side.
