In early September of 1862, General Robert E. Lee's Maryland Campaign saw the first invasion of the North by the Confederate Army of Northern Virginia. Lee's plan was to win over the citizens of Maryland, a border state, to the Confederate side. A victory in the North could also convince England and France to recognize the Confederate states as a legitimate country. The Maryland Campaign had so far consisted of three battles: the Battle of Harpers Ferry, the Battle of South Mountain and the bloody Battle of Antietam. The fourth battle was the Battle of Shepherdstown.