Submachine gun
In the early 20th century, experiments were made by converting  pistols from semi to fully automatic firearms. Automatic weapons with gunstock and firing pistol rounds were developed around the same time during World War I, by Italy, Germany, and the United States. The first dedicated designs were developed in the latter stages of World War I both as improvements on earlier stocked pistols, and to offer an advantage in trench warfare.