After the Union army under Grant had successfully crossed the river and besieged Vicksburg from the Yazoo to the Mississippi, the Mississippi Squadron completed the encirclement by controlling the rivers. No notable naval actions resulted, but Grant regarded the Navy's contribution as a vital link in the campaign that finally ended on July 4, 1863 with the surrender of the city and its garrison.