Gunpowder is pretty common. It's just a mix of sulfur, charcoal, and saltpeter (which is nitrogen something). Gunpowder has been used for quite a long time, it just remained limited until somebody figured out the gun.