During the American Civil War, an unidentified Confederate sniper shot Major General John Sedgwick during the Battle of Spotsylvania Court House probably with a British Whitworth target rifle at the then-incredible distance of minimum 730 meters .