who created the first gun

just now 1
Nature

The first gun was created in China during the 10th century. It originated from the invention of gunpowder in the 9th century by Chinese alchemists. The earliest firearm known as the "fire-spurting lance" or "fire lance" was a bamboo or metal tube that held gunpowder and could eject flames and projectiles. This early gun was used in the Song dynasty during the Jin-Song wars. The design evolved into more cannon-like devices that could shoot explosive bombs. These inventions mark the earliest use of gunpowder-based weapons in warfare and are considered precursors to modern guns.