What was used before gunpowder?

they used black power, composed of sulfur, charcoal, and potassium nitrate.