After 1330s Grand Duchies of Moscow and Lithuania started to dominate the Russian lands and subsequently Novgorodians invited princes from both grand duchies. In 1449 Moscow concluded an Eternal Peace agreement with the Grand Duchy of Lithuania delimiting zones of influence in Russia. In the next few years Vasily the Blind defeated his rival Dmitry Shemyaka and prevailed in the Muscovite Civil War. Dmitry Shemyaka died (possibly by poisoning) in Novgorod in 1453. Vasily the Blind attacked Novgorod in 1456 and after the Novgorodians' defeat in the battle of Staraya Russa they were forced to conclude the Treaty of Yazhelbitsy with Moscow, according to which the powers of the Moscow prince in Novgorod affairs were significantly expanded.