The Battle of Antietam, fought on September 17, 1862, was a pivotal engagement during the American Civil War, marking the bloodiest single-day battle in American history. It ended the Confederate invasion of Maryland and provided President Lincoln with the opportunity to issue the Emancipation Proclamation, which transformed the war into a struggle for freedom as well as union.