The Confederate States Navy was the naval branch of the Confederate States armed forces established by an act of the Confederate Congress on February 21, 1861. It was responsible for Confederate naval operations during the American Civil War. The two major tasks of the Confederate Navy during the whole of its existence were the protection of Southern harbors and coastlines from outside invasion, and making the war costly for the North by attacking merchant ships and breaking the Union Blockade.