From the time of the Mongol invasion, most of whose armies were composed of Turkic tribes, the influence of Turkish increased in the region. On the other hand, the old Iranian dialects remained prevalent in major cities. Hamdallah Mostawafi writing in the 1340s calls the language of Maraqa as "modified Pahlavi"(Pahlavi-ye Mughayyar). Mostowafi calls the language of Zanjan (Pahlavi-ye Raast). The language of Gushtaspi covering the Caspian border region between Gilan to Shirvan is called a Pahlavi language close to the language of Gilan.