How far back do you want to go? In the Bronze Age, Anatolia was mostly under the domain of the Hittites, which spoke an Anatolian branch of Indo-European. Following their collapse, Anatolia was inhabited by various other Indo-European peoples, such as Phrygians, Greeks, and Persians. It was the expansion of the Seljuk Turks that brought Turkish-speakers into Anatolia, and they became the dominant people over the next few centuries. The Mongols never really entered Anatolia--the Seljuks were vassals of the Ilkhanate, but Mongolian-speaking peoples didn't migrate into the region like the Turkic-speaking peoples did.
Further afield, the Central Asian steppes were apparently first settled by Indo-European languages of various branches (Iranian and Tocharian). Alexander the Great's conquest led to the establishment of Greek as a major upper-class language throughout Bactria although it doesn't appear to have transfused down to local populations. Turkic nomads started filtering in and pushing out/assimilating the extant Indo-European speakers in the 400s or so (long before the Mongol Empire).
As for traces of loanwords, yes, many Turkic languages incorporated Indo-European (particularly Iranian/Persian languages) of extant speakers into their language, much like how French incorporated Germanic elements into its language.
You seem to have a tremendous grasp on the history of Central Asia, especially during the Middle Ages, a subject that I personally consider very obscure. May I ask if this is a personal interest of yours, given that most of your working hours are devoted to open source software?
Actually, my grasp isn't that good. Rather, I have an interest in history, particularly that outside of those areas that pass for world history in most schools (i.e., Europe), and I did alight on a course that talked about the steppe nomads over the past 6000 years or so.
Further afield, the Central Asian steppes were apparently first settled by Indo-European languages of various branches (Iranian and Tocharian). Alexander the Great's conquest led to the establishment of Greek as a major upper-class language throughout Bactria although it doesn't appear to have transfused down to local populations. Turkic nomads started filtering in and pushing out/assimilating the extant Indo-European speakers in the 400s or so (long before the Mongol Empire).
As for traces of loanwords, yes, many Turkic languages incorporated Indo-European (particularly Iranian/Persian languages) of extant speakers into their language, much like how French incorporated Germanic elements into its language.