At some point between the 9th and 11th Century. Prior to the introduction of the rifled barrel, everything was technically a shotgun. Early smooth bore Cannon were in actuality "Shotguns." Really BIG shotguns, but shotguns none the less. That's painting it with a broad brush however it is what it is.