 During the Battle of Farmington, he was in the 28th Mississippi Cavalry Regiment.He commanded the unit while defending Vicksburg, and helped stop attacks made by U.S. Major-General William T. Sherman and U.S. Commodore David Porter.On July 28, 1863, Ferguson was promoted to brigadier-general.