During the American Civil War, Jacksonville was a key supply point for hogs and cattle shipped from Florida to feed the Confederate forces. The city was blockaded by Union forces, who gained control of nearby Fort Clinch. Though no battles were fought in Jacksonville proper, the city changed hands several times between Union and Confederate forces. In the Skirmish of the Brick Church in 1862, Confederates won their first victory in the state. However, Union forces captured a Confederate position at the Battle of St. Johns Bluff, and occupied Jacksonville in 1862. Slaves escaped to freedom in Union lines. In February 1864 Union forces left Jacksonville and confronted a Confederate Army at the Battle of Olustee, going down to defeat.