In the fall of 1632 a well-prepared Russian army took a number of strongholds on the Lithuanian side of the border and commenced a siege of Smolensk. The well-fortified city was able to withstand a general onslaught followed by a ten-month encirclement by an overwhelming force led by Mikhail Shein. At that time a Commonwealth rescue expedition of comparable strength arrived, under the highly effective military command of Władysław IV. After months of fierce fighting, in February 1634 Shein capitulated. The Treaty of Polyanovka confirmed the Deulino territorial arrangements with small adjustments in favor of the Tsardom. Władysław had relinquished, upon monetary compensation, his claims to the Russian throne.