D. The Chinese
Gunpowder was invented in the 9th century in China, and the earliest record of a written formula for gunpowder appears in the 11th century Song dynasty text, Wujing Zongyao. This discovery led to the invention of fireworks and the earliest gunpowder weapons in China.