The earliest mention of a smoothbore weapon was about the year 1000 in Dunhuang. The weapon was called a fire lance. The basic parts that make up a gun are a barrel, a charge and a projectile. The gun must also have a way to ignite the black powder charge. The earliest guns were made of bamboo, later replaced with metal barrels. The first mass produced guns were the matchlocks.