Seljuq and his relations of Turkman people, which had lived in Central Asia (current area of Kazakhstan), immigrated westward in the latter half of the 10th century, extending their power and proselytizing themselves into Islam. His grandson Tughril Beg established the Seljuqid Dynasty (1038-1194) in Iran and received the title of eSultanf from the Caliph of Baghdad as the king of the political and military field.
On the other hand, his cousin Sulayman advanced toward Anatolia (now Asian side of Turkeyfs territory) and founded the Seljuqids of Rum (1077-1308), defeating the Ghaznavids. Rum was a corruption of Rome, indicating the land and people of the Byzantine (Eastern Roman) Empire that had ruled most of Anatolia. Thus the so-called Kingdom of Seljuqid Turkey came into existence and Turkish people have settled in Anatolia since then.
Entrance Iwan and Cloisters of Caravanserai
Its capital was Konya located in the central region, which thrived much from the 12th to the 13th century. Kayqubad I, one of the Sultans who built its zenith, intended to establish the domestic Caravan routes (trading roads system).
While the nomenclature of Caravanserai (Kervansaray in Turkish) is derived from Persian, it is more often called eHanf in Turkey (Khan in Arabic), Sultanhani accordingly means the Royal Caravanserai erected by Sultan. (The spelling of Han changes into Hani according to the previous noun.)
CARAVANSERAI at Sultanhani near Kayseri, PLAN
Though this is another Caravanserai, its plan is almost the same.
( from Henri Stierlin, "Architecture de l'Islam," 1979 )
The caravanserai at Sultanhani, located one-day journey from Aksaray, is surrounded with solidly built walls about 2m thick, on which there are only a few crenel-like narrow windows apart from the entrance portal. It was a utility building, defense-oriented against bandits, as if it was a stronghold for caravans to stay safely at night.
Present and former states of courtyard and mosque
Inside of it, a square courtyard is surrounded with cloisters. The left-hand open space is for grooming horses and camels, while on the right-hand there were an administration room, a kitchen, a hammam (bath room), and rooms for merchants. Like a mosque, there is a fountain basin in the center of the courtyard, the upper story of which is a worship room (Mescit). Sculptors left their skillful relieves of arabesque on its walls.
Most of Anatolia is situated on high plateaus over the altitude of 1,000m. Differing from semitropical Arabia and Persia, it is quite cold in winter. Therefore it is not functional at all that a Hanfs accommodation hall be so large with a 15m high ceiling and no partitions to protect from the rigors of the cold. On the other hand, the stones of its pillars and walls were cut precisely and piled up exquisitely. This five-aisled great space gives the impression of a Christian church.
Interior and dome of Caravanserai
Since Turks were originally nomads in Central Asia, they had not developed architectural culture as people of permanent settlements based on agriculture had, possessing no skills of construction. In spite of that, they settled in Anatolia and began to construct necessary buildings; they had to rely on indigenous architects and builders who held techniques of the regions.
It was Syrians and Armenians who had greatly developed stone architecture in the Middle East. Since Armenians had scattered there due to the loss of their fatherland by the maelstrom of wars, it was inevitable that this architectural nation bore the role of construction for the burgeoning Seljukid Dynasty.
( from "Architecture of Islam" 2006)