 Edward Canby commanded 45,000 Union troops while Dabney H. Maury led 10,000 Confederate soldiers and 300 cannons.In the Battle of Spanish Fort two divisions of the Union XIII Corps under Gordon Granger on the left and two divisions of the Union XVI Corps under Andrew Jackson Smith on the right invested the fort.The fort was defended by the brigades of Ector, James T. Holtzclaw, and Randall L. Gibson, from left to right.