During the Cossack sojourn in Turkey, a new host was founded that numbered around 12,000 people by the end of 1778. Their settlement on the Russian border was approved by the Ottoman Empire after the Cossacks officially vowed to serve the sultan. Yet internal conflict, and the political manoeuvring of the Russian Empire, led to splits among the Cossacks. Some of the runaway Cossacks returned to Russia, where the Russian army used them to form new military bodies that also incorporated Greeks, Albanians, Crimean Tatars, and Gypsies. After the Russo-Turkish war of 1787–1792, most of these Cossacks were absorbed into the Black Sea Cossack Host, together with Loyal Zaporozhians. The Black Sea Host moved to the Kuban steppe. Most of the remaining Cossacks who had stayed in the Danube Delta returned to Russia in 1828, creating the Azov Cossack Host between Berdyansk and Mariupol. In 1860, more Cossacks were resettled in the North Caucasus, and merged into the Kuban Cossack Host.