The document traces the history and development of firearms from their origins in China in the 13th century to modern times. It discusses early firearms like the fire lance and the matchlock gun invented in the 14th century. Later mechanisms included the wheel lock gun of the 15th century and flintlock gun of the 16th century. Important developments were the percussion cap which replaced the flintlock and Samuel Colt's revolving firearms in the 1830s. Breech-loaded and repeating firearms became more common in the latter half of the 19th century, and the first automatic pistol was created in 1892.