The Gardner gun was an early type of mechanical machine gun. It had one, two or five barrels, was fed from a vertical magazine or hopper and was operated by a crank. When the crank was turned, a feed arm positioned a cartridge in the breech, the bolt closed and the weapon fired. Turning the crank further opened the breechblock and extracted the spent case.
The Gardner machine gun was invented in 1874 by William Gardner of Toledo, Ohio formerly a captain in the Union army during the American Civil War. After producing a prototype he went to the Pratt and Whitney company, who after a year of development produced a military version of the weapon.
A demonstration to officers at the United States Navy yard in 1875 was successful, however they recommended that Pratt and Whitney continue with development of the system, incorporating improvements to the feed system, which were designed by E.G. Parkhurst, an engineer at Pratt and Whitney. The army attended the tests, but showed no interest in the weapon.
Parkhurst added many improvements to the gun's firing mechanism which made it more reliable. During 1877 additional tests took place with a .45 calibre (11.4 mm) version of the weapon, which determined its muzzle velocity to be 1,280 feet per second (390 m/s).
On 17 June 1879 a further demonstration was carried out at the Navy Yard, during which the weapon was presented by Francis A. Pratt and Amos Whitney. The weapon fired a total of 10,000 rounds during the test, taking a total elapsed time of 27 minutes 36 seconds, with breaks between firing to resolve an issue with one of the extractors. While the test was not without issues the weapon managed to fire 4,722 rounds before the first stoppage, and after the stoppage was resolved it fired approximately 5,000 rounds without incident.
On 15 January and 17 March 1880 duplicate tests were conducted at Sandy Hook proving ground in front of an Army review board. The weapon performed well, and they recommended that the Army buy a limited number for field evaluation, noting the low cost of the weapon. However the Army declined to purchase.