Shotguns have been used in every armed conflict since their inception.
I have several flintlock rifles and pistols. At one time they were “weapons of war”.