The Chinese invented gunpowder.