<Tr> <Th> Date </Th> <Td> March 27--April 8, 1865 (1865 - 04 - 08) </Td> </Tr> <Tr> <Th> Location </Th> <Td> Baldwin County, Alabama </Td> </Tr> <Tr> <Th> Result </Th> <Td> Union victory </Td> </Tr> <Tr> <Th_colspan="2"> Belligerents </Th> </Tr>

What was the major purpose of the spanish fort