The Gatling gun was the first gun to use rotating barrels.
The design was steadily improved; by 1876 the Gatling gun had a theoretical rate of fire of 1,200 rounds per minute, although 400 rounds per minute was more readily achievable in combat.