The Mongol invasions of 1236-1241 left the Russian principalities subjugated by the Golden Horde. In the 13th-15th centuries, the Khan of the Golden Horde appointed the Great Prince, who in the 14th century resided in Moscow. In the 13th century the medieval Rus' consisted of a set of relatively small and weak principalities, fighting and making alliances against each other. The larger states  progressively conquered or absorbed the smaller ones. One bigger principality, the Grand Duchy of Moscow, grew due to a series of clever policies and became the biggest one in central Rus'. In 1380 Dmitry Donskoy, the prince of Moscow, even managed to fight the troops of Golden Horde in the Battle of Kulikovo and win. Whereas formally Moscow remained dependent on the Horde, and the Khan needed to approve position of the Prince, the Grand Duchy of Moscow had become a major regional power, and the Moscow princes aimed to conquer the remaining lands around Moscow and to append them to their Grand Duchy.. How many years did the Mongol invasions last?