Origin of the phrase fire when a gun is shot?

Originally, to discharge a gun, you lit the gunpowder, and set the powder on fire- or "fired" it.
Originally, to discharge a gun, you lit the gunpowder, and set the powder on fire- or "fired" it.