When was the Battle of Vicksburg?

The Battle of Vicksburg took place in May and June of 1863; until the Confederate army surrendered Vicksburg on July 4.