Sanzhi and Shiri belong to Dargi languages which form a subgroup of the Nakh-Daghestanian language family. The exact number of languages belonging to this family is unknown, but it can be estimated at around 40. The internal classification of the family has not yet been unanimously resolved. Existent classifications differ in the number of primary branches and consequently in the composition of these branches (e.g. whether Khinalug forms a separate branch or rather belongs to the Lezgic branch, etc.). Thus, the figure below shows only one of the possible classifications. The internal classification of the Dargi subbranch is taken from Korjakov 2006, with the addition of Shiri and Sanzhi.