The Gagauz people descend from the Seljuk Turks that settled in Dobruja, together with the Pechenegs, Uz (Oghuz) and Cuman (Kipchak) people that followed the Anatolian Seljuk Sultan Izzeddin Keykavus II (123676). More specifically, one clan of Oghuz Turks migrated to the Balkans during the inter-tribal conflicts with other Turks. This Oghuz Turk clan converted from Islam to Orthodox Christianity after settling in the Eastern Balkans (in Bulgaria) and were called Gagauz Turks. A large group of the Gagauz later left Bulgaria and settled in southern Bessarabia, along with a group of ethnic Bulgarians.In 1812, Bessarabia, previously the eastern half of the Principality of Moldavia, became part of the Russian Empire, and Nogai tribes that inhabited several villages in south Bessarabia (or Budjak) were forced to leave. Between 1812 and 1846, Russians settled the Gagauz people from what is nowadays eastern Bulgaria (which remained under Ottoman Empire) to the orthodox Bessarabia, mainly in the settlements vacated by the Nogai tribes. They settled there in parallel with Bessarabian Bulgarians in Avdarma, Comrat, Congaz, Tomai, Cişmichioi, and other former Nogai villages. Some Gagauz were also settled in the part of the Principality of Moldavia that did not come under Russian control in 1812, but within several years village by village moved to the compact area they inhabit today in the south of Bessarabia. With the exception of a five-day de facto independence in the winter of 1906, when a peasant uprising declared an autonomous Republic of Comrat, Gagauzians have been ruled by the Russian Empire (1812-1917), Romania (1918-1940 and 1941-1944), the Soviet Union (1940-1941 and 1944-1991), and Moldova (1917-1918 and 1991 to date).