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.