 Sarir was first documented as a political entity in the 5th century AD.The memory of its foundation was transmitted orally among the Caucasian Avars.According to one legend, the kingdom was established by a Persian general who was sent to control the Caucasus by a Sassanian king.