The Navy Department, however, remained committed to the idea of opening the Mississippi. In the person of Assistant Secretary of the Navy Gustavus Vasa Fox, it decided early on the capture of New Orleans by a naval expedition from the Gulf of Mexico, after which all other towns bordering the river would fall rather than face bombardment. The task of taking New Orleans was entrusted to Captain (later Admiral) David Glasgow Farragut, who followed his own plans for the battle; running his fleet past the forts that defended the city from the south on the night of April 24, 1862, he forced the city to surrender. After repairing his ships from the damage they had suffered while passing the forts, he sent them up the river, where they successively sought and obtained the surrender of Baton Rouge and Natchez. The string of easy conquests came to an end at Vicksburg, Mississippi, however, as the Confederate position there occupied bluffs high enough to render them impregnable to the naval gunnery of the day.