Fort Pickens played a critical role in an 1800s homeland-security program as the largest of four forts the U.S. government built to protect Pensacola Bay and the Navy Yard. The fort succeeded not against a foreign invasion, but against the Confederates during the Civil War.