On February 7, 1494, the Moscow Peace was signed between the Russian state and the Grand Duchy of Lithuania. It ended the Border War between the countries, moving the border of the state to the west and ensuring Lithuania's official recognition of the Grand Duke of Moscow as the sovereign of all Rus' and Lithuania.

As Moscow grew stronger, all Russian lands began to gather around it, experts say. Moscow was faced with the ultimate task of returning the Russian lands that were part of Lithuania in the 15th century.