The Battle of Monocacy (also known as Monocacy Junction) was fought on July 9, 1864, approximately 6 miles from Frederick, Maryland, as part of the Valley Campaigns of 1864 during the American Civil War.