Prior to the Civil War, the US War Department, and particularly the navy, concentrated on fighting a European foe in foreign and home waters. Britain was the most commonly conceived enemy. Great coastal forts were built at major river mouths or a short distance upstream. There was no need to protect the vast network of inland rivers and smaller streams. The Civil War created unforeseen problems for both the North and the Confederacy.