Though Farragut resided in Norfolk, Virginia, prior to the Civil War, he was a Southern Unionist who strongly opposed Southern secession and remained loyal to the Union after the outbreak of the Civil War. Despite some doubts about Farragut's loyalty, Farragut was assigned command of an attack on the important Confederate port city of New Orleans. After fighting past Fort St. Philip and Fort Jackson, Farragut captured New Orleans in April 1862. He was promoted to rear admiral after the battle and helped extend Union control up along the Mississippi River, participating in the siege of Port Hudson. With the Union in control of the Mississippi, Farragut led a successful attack on Mobile Bay, home to the last major Confederate port on the Gulf of Mexico. Farragut was promoted to admiral following the end of the Civil War and remained on active duty until his death in 1870.