Mongols defeated Russians and conquered Kyev in the 13th century. Russian states recognized Mongol khans as rulers. Russia conquered Mongol and Tatar states 16 - 18 centuries. Russia needed much time to conquer all Tatar states. The lastvl Tatar state was conquered in 1783.
There was a Polish and Swedish invasion of Russia at the beginning of the 17th century. Poland and Sweden installed a puppet emperor in Moscow but Romanovs won in 1613.