these two sieges finished with peace treaties favorable to russia