the battle of shepherdstown (also known as the battle of boteler's ford) was fought on september 19 and 20, 1862. it was the last of four battles that made up the maryland campaign of the american civil war.