Hooker served in the Seminole Wars and the Mexican–American War. At the start of the Civil War, he joined the Union side as a brigadier general. He distinguished himself at Williamsburg, Antietam and Fredericksburg.