كسرى الأول
In the 6th century, following a long war, the Sassanid Empire took over the Eastern and North-Eastern Caucasus. In 552 the Khazars invaded Caucasus and occupied the northern plains of Dagestan. The reigning shah of Persia, Khosrau I Anushirvan, began the construction of Derbent fortress in order to protect his possessions from the new wave of nomads. Khosrau I appointed a local ruler in Kumukh, as he also did in many other possessions.