The first gunpowder weapon was actually a melee spear with a one-shot flamethrower attached called a fire lance. It was used by the Chinese around 1000 A.D.