At the beginning of the 2nd millennium, the primitive society of Ural started transforming to feudal relations. Around the 14th century, the feudal state Great Perm was created west to the Northern Ural. Russian started moving to Ural in the 11th century, mostly from the Novgorod areas. They became active around the 14th century when a number of settlements were established in the Northern Ural and attributed to Veliky Novgorod. Their ownership went to the Moscow state in 1471, together with lands around the Kama River. After the defeat of Khanate of Kazan in 1552, the Russian influence expanded to the most parts of Bashkortostan and Udmurtia.