Fireworks were invented in ancient China, with origins tracing back to at least 2,000 years ago. The earliest "firecrackers" were made from bamboo stalks that exploded when thrown into fire due to the overheating of air pockets inside them. The invention of gunpowder around the 9th century by Chinese alchemists played a crucial role, allowing them to create the first true fireworks by filling paper tubes with gunpowder and inserting fuses. A Chinese monk named Li Tian from the city of Liuyang, Hunan Province, is often credited with inventing firecrackers about 1,000 years ago, and there is a temple in his honor. Fireworks then spread from China to Europe and other parts of the world over the centuries.