Kayılar, as one of the 24 Oghuz tribes, was a powerful and important tribe that had maintained its existence for hundreds of years. The Kayı people, who continued their existence in Central Asia during the Göktürks and Karakhanids periods, continued their existence mostly in the Khorasan region within the Seljuk State in the 9th century. The Kayı people, who were not Seljuk subjects but lived as nomads within the borders of the Seljuk State like other Turkish tribes, entered Anatolia in two separate branches in two different periods. The first important Kayı branch entered Anatolia with the Malazgirt Victory and became stronger in the following years and established the Artuqid principality. Another Kayı branch, which continued its existence in the Khorasan and Merv regions, was dragged towards the West due to Mongol pressures and entered Anatolia with the Khwarezmshahs at the end of the 12th century.
We can see that the Kayı tribe has a significant population, as it consists of two large principalities. However, his name is not seen much in the history scene before the Seljuk period. The probable reason for this is that the Kayı people did not act together with other large Turkish masses. It can be thought that they did not have a political manifestation that was recorded in the historical records both during the Gokturk period and the Karakhanid period and that would affect the historical records that we can access. However, considering that they were able to continue their existence for hundreds of years and that they had a large population of approximately 70 thousand tents when they migrated to Anatolia, they determined their own destiny and took their place in Turkish History, albeit late, in the 12th century.
Kayılar became stronger as a result of their success against Byzantium during the period when the Anatolian Seljuk State entered the process of collapse and the Anatolian Principalities began to be governed independently and on their own, and at the end of a period of approximately 40 years, they became an Empire and became the founding elements of the Ottoman State.
The existence of the Kayı Tribe in Anatolia, which played a leading role in the establishment of the Ottoman Empire, is not as old as the Turkish tribes that entered Anatolia during the Great Seljuk State period. Kayı people entered Anatolia approximately 100 years after the Turkification of Anatolia.
Kayı people migrated to the geography of Iran, where the Great Seljuk State ruled, together with the Turkish tribes who migrated westward from Inner Asia under the influence of the Mongol attacks. However, when the Great Seljuk State collapsed in 1157, the Iranian geography began to come under the domination of the Abbasids. Even though they were not affiliated with a central government after the collapse of the Great Seljuk State, the administration of the provinces was still in the hands of the governors appointed by the Great Seljuk State. Seljuk governors did not want the Abbasids to dominate their regions. Likewise, the nomadic Turkish tribes who migrated from Inner Asia under Mongol pressure did not want to be ruled by Arab rulers, even though they were Muslims. Seljuk governors and nomadic Turkish tribes came together around this common interest and formed an alliance against the Abbasid raids. During this period, the geography of Northern Iran was home to the Turks, who were the successors of the Seljuks, the nomadic Turkmens who lived in the region for a long time, the Tatars who lived in the Northern Black Sea line and migrated to Iran via the Caspian Sea, and the nomadic Turkish tribes who migrated from Inner Asia under Mongol pressure. Seljuk governors persuaded the Turkmens, Tatars and Kayı people, one of the strongest elements of the nomadic Turks, to form an alliance against the Abbasid raids and protected their region (Khorasan/Merv cities) from the Abbasid raids. Kayılar, who had the biggest share in this success, not only won the loyalty of the Turkmens who were left headless in the Iranian geography after the Great Seljuk State, but also gained great influence and assumed the leadership of the Turkish masses in the region.
At this date, Kayılar was a crowded tribe with approximately 20,000 tents. Turkmens and Tatars in the region had a much larger population of 50,000 tents. Although they were fewer in number, the heroism shown by the Kayı bey, Süleyman Shah, in the wars he waged and the successes achieved by the Kayı people influenced the Turkmens and Tatars. These Turkish masses, looking for a new and strong leader, swore allegiance to Suleyman Shah and joined the Kayı tribe. The Kayı people had now become a tremendous force consisting of 70,000 tents. A population of 70 thousand tents meant an army of approximately 50,000 warriors. Considering the soldiers assigned to defend the tribe, there was an expeditionary force of at least 30,000 soldiers; This number is more than enough for them to be a combat element that can determine the fate of a major war.
Instead of continuing their existence in the Iranian geography, which was left without a state and customs, and was targeted by both the Mongols and the Abbasids, they decided to migrate to Anatolia in order to go to Gaza and be closer to the Anatolian Seljuk State, which was established in Anatolia and was becoming increasingly stronger. Their first stop in their Anatolian migration was Ahlat (1191). The Kayı family stayed here for a short time and then settled first in Erzurum and then in Erzincan. Ahlat, Erzurum, Erzincan line was the border line between the Anatolian Seljuk State and the Khwarezmshah State. In the east, the Khwarezmshahs were trying to resist the Mongol raids, and in the west, the Anatolian Seljuk State was trying to strengthen its dominance in Anatolia and resist the Crusades. The Kayı people were not subject to either the Anatolian Seljuks or the Khwarezmshahs, and they attempted to determine their own destiny. They summered and wintered in Erzurum and Erzincan for about 30 years, but Süleyman Shah, who could not find what he expected despite all the time they spent, decided to return to the geography of Turkestan, which he saw as his true homeland. He was returning to Turkestan, where he had left as a young and heroic lord, as an old man in the last days of his life.
The Kayı people migrated not through the Tabriz - Ahlat direction, where they once migrated from Turkestan, but from the south, via the Euphrates River and the Aleppo province, and proceeded to the Jabar castle near the Aleppo province. The Kayı people, who had to cross the Euphrates River due to their migration direction, decided to cross the river through a strait that seemed shallow. When the pioneer troops could not cross the river, they reported the situation to Süleyman Shah. Suleyman Shah rode his horse into the river to check the river, but when the horse stumbled, he fell into the river and drowned. Suleyman Shah was taken out of the water and buried by the river near Caber castle. This area was later known as the Turkish Tomb. The mausoleum, which is now known as the Suleyman Shah mausoleum, is thought to belong to Kayı bey Suleiman Shah, as it is located in this region.
After the death of Suleyman Shah, the peace of the Kayı tribe was disrupted. The largest population within the Kayı tribe, which was approximately 70,000 tents in size, was the Turkmen and Tatars who were subjects of Suleiman Shah in Turkestan. After the death of Süleyman Shah, this mass left the Kayı family and migrated towards Damascus. The community that continues to exist today as Damascus Turkmens is the successors of the Turkmen-Tatar masses that separated from the Kayıs. After the separation of the Turkmens and Tatars, those who remained from the Kayı generation followed the three eldest sons of Suleiman Shah. Actually, Süleyman Shah had 4 sons. His adult sons Sungur Tigin, Gündoğdu Bey and Ertuğrul Bey led the Kayı tribe. Dündar, the youngest sibling, followed his older brothers because he was still a child.
After the separation of the Turkmens and Tatars, the Kayı people gave up on migrating to Turkestan and returned to Erzurum via the Euphrates River, following the route they came from. They wintered in Sürmeli Çukuru location in the Pasin Plain. However, this union did not last long. Sungur Tigin, the eldest son of Süleyman Şah, and Gündoğdu Bey, his younger son, decided to complete the Turkestan migration that was left unfinished after the death of Süleyman Şah. Ertuğrul Bey thought that it would be better to stay in Anatolia and go to war instead of returning to Turkestan. Thereupon, a large part of the Kayı tribe swore allegiance to Sungur Tigine, the eldest son of Süleyman Shah, and Gündoğdu Bey, who acted with him, and migrated towards Turkestan. As for Ertuğrul Bey, only 400 tents, his brother Dündar and his mother Hayme Sultan swore allegiance and remained in Erzurum.
With the departure of the Turkmens, Tatars and those who swore allegiance to Sungur Tigin, Kayılar shrank and turned from a tribe of 70,000 tents into a camp of 400 tents. They were no longer strong enough to determine their own destiny. In order to winter, they had to be subject to a ruler, and in order to go to Gaza, they had to belong to an army. Because with a military force of a few hundred people, they could only deal with stray gangs and looters.
Ertuğrul Bey sent his eldest son Saru Yatı as an ambassador to Alaeddin Keykubat, the ruler of the Anatolian Seljuk State, in order to have a safe homeland where he could keep his tribe and to go to Gaza. Alaeddin Keykubat responded positively to Ertuğrul Bey's request and allocated the Kayılara Söğüt province as winter quarters and the Domaniç and Armenianbeli mountains as pastures. The Kayı people would now live as subjects of the Seljuk State, go on wars with the Seljuk army, and continue their lives in the fertile lands of Western Anatolia. The Kayis first went to Ankara and then to Söğüt. After this date, Söğüt became the ancient homeland of the Kayı people. Ertuğrul Bey received the title of Gazi and lived in Söğüt until the end of his life. After a long and prosperous life without wars, he died in 1281 at the age of 90. His mausoleum, built by his elder son Osman Bey, is located in Söğüt (Bilecik) district.
After the death of Ertuğrul Gazi, his eldest son Osman Bey took over the leadership of the Kayı family.