What did the Union accomplish by capturing Vicksburg and Port Hudson?

A) Weakening the Confederate economy
B) Securing crucial ports for Union naval operations
C) Gaining control of strategic transportation routes
D) Establishing diplomatic alliances with European powers.