Gunpowder was first created by Chinese alchemists in the 9th century as a result of their quest for an elixir of life, and was originally composed of potassium nitrate, charcoal, and sulfur. It was primarily used for fireworks until the 10th century when it saw its first military applications in rocket propelled arrows used against the Mongolians. When combusted, gunpowder will deflagrate instead of detonate, producing enough force for a bullet to be shot from a weapon without rupturing the barrel. It remained a Chinese monopoly until the 13th century when it began spreading to Europe and the Middle East via the Silk Road, where it was mainly used in cannons before being incorporated