During that campaign Władysław started the modernisation program of the Commonwealth army, emphasising the usage of modern infantry and artillery. Władysław proved to be a good tactician, and his innovations in the use of artillery and fortifications based on Western ideas greatly contributed to the eventual Polish–Lithuanian success. King Władysław wanted to continue the war or, because the Polish–Swedish Treaty of Altmark would soon be expiring, ally with the Russians to strike against Sweden. However, the Sejm wanted no more conflict. As Stanisław Łubieński, the Bishop of Płock, wrote two weeks after Shein's surrender: "Our happiness is in remaining within our borders, guaranteeing health and well-being." The resulting Peace of Polyanov (Treaty of Polanów), favourable to Poland, confirmed the pre-war territorial "status quo". Muscovy also agreed to pay 20,000 rubles in exchange for Wladyslaw's renunciation of all claims to the tsardom and return of the royal insignia, which were in the Commonwealth possession since the Dymitriads.