The first commercially-successful machine gun was the Gatling gun, patented in 1861. This multi-barrel weapon was operated by hand-crank and could achieve a firing rate of around 200 rounds per minute, assuming the soldiers could keep reloading the cartridges fast enough. The gun was first used during the siege of Petersburg, Virginia, during the American Civil War in 1864-5.