Ethnogenesis
Originally, at least some of the Caucasian Albanians probably spoke Lezgic languages close to those found in modern Daghestan; overall, though, as many as 26 different languages may have been spoken in Caucasian Albania. After the Caucasian Albanians were Christianized in the 4th century, the western parts of the population were gradually assimilated by the Armenians, and the eastern parts of Caucasian Albania were Islamized and absorbed by Iranian and subsequently Turkic peoples (modern Azerbaijanis). Small remnants of this group continue to exist independently, and are known as the Udi people. As of the 5th century, the tribes who lived in the western part of Caucasian Albania were called the "Lpnik".
The pre-Islamic population of Caucasian Albania might have played a role in the ethnogenesis of a number of modern ethnicities, including the Azerbaijanis, the Armenians of the Nagorno-Karabakh, the Georgians of Kakhetia, the Laks, the Lezgins and the Tsakhurs of Daghestan.
Read more about this topic: Caucasian Albania