During the 14th century, several families from Tatar tribes in Crimea followed Grand Duke Vytautas to Lithuania, where they served as his personal guard at Trakai Island Castle. After the Polish-Lithuanian union in 1385, the Tatars divided and formed communities in several villages.