The Maryland campaign—or Antietam campaign—occurred September 4–20, 1862, during the American Civil War.