Regarding the origin of the Karaims in Lithuania also there is no complete consensus yet between the scholars. According to Lithuanian Karaim tradition they came from Crimea in 1392 when the Grand Duke Vytautas of Lithuania allied with Tokhtamysh against the White Horde Tatars and relocated 330 Karait families to Lithuania (Schur 1995). Although linguistically sound, and in agreement with the tradition of the Lithuanian Tatars, claiming their origin from the collapsed Golden Horde, some modern historians doubts this assumption. Nevertheless, Karaims settled primarily in Vilnius and Trakai, maintaining their Tatar language; there was also further minor settlement in Biržai, Pasvalys, Naujamiestis and Upytė. Despite a history through the 16th and 17th centuries that included disease, famine, and pogroms, Lithuania was somewhat less affected by such turmoil than the surrounding areas. As a result, the Lithuanian Karaims had a relative sense of stability over those years, and maintained their isolation as a group, keeping their Turkic language rather than abandoning it for the local languages (“Karaim Homepage” 1998).