The Girardoni air rifle was used in military service from the late 18th through early 19th centuries, and saw civilian use for some time after that. It was a very high-tech weapon for the time, and while finicky and expensive offered some unique advantages and was quite deadly. The Lewis & Clark expedition famously used a couple.