How did the Union find out about General Lee's plan for the Battle of Antietam?

a. A Union Spy reported the plans

b. The plans were lost and intercepted by a Union Soldier

c. Lee wanted to give the Union troops a break

d. McClellan anticipated the plans and
outsmarted Lee ​