Rimfire ammunition is a type of firearm metallic cartridge whose primer is located within a hollow circumferential rim protruding from the base of its casing. When fired, the gun's firing pin will strike and crush the rim against the edge of the barrel breech, sparking the primer compound within the rim, and in turn ignite the propellant within the case. Invented in 1845, by Louis-Nicolas Flobert, the first rimfire metallic cartridge was the .22 BB Cap (a.k.a. 6mm Flobert) cartridge, which consisted of a percussion cap with a bullet attached to the top. While many other different cartridge priming methods have been tried since the 19th century, only rimfire and the later centerfire cartridges survive to the present day with regular usages. The .22 Long Rifle rimfire cartridge, introduced in 1887, is by far the most common ammunition in the world today in terms of units sold.