The firearm was originally invented in
China during the 13th century AD, after the Chinese invented gunpowder during the 9th century AD. These inventions were later transmitted to the
Middle East,
Africa, and
Europe. The world's first firearm in history was the fire lance, the prototype of the gun. The fire lance was invented in China during the 10th century and it is the predecessor of all firearms.