The bayonet, which appeared in the seventeenth century, is a bladed weapon adapted to a rifle muzzle, and one of the primary pieces of equipment for infantry. The socket bayonet, which was adapted thanks to Vauban, solved the problem of defence for the shooter, as the firearm could henceforth be used both as a shooting weapon and a polearm. This stage left a lasting mark on infantry combat techniques, at least until the First World War. The bayonet also underwent other transformations after World War Two.
Source : Bayonet (The)