The term is a calque of the German word "Maschinenpistole". They were developed during World War I, and originally issued to German artillery crews who needed a self-defense weapon, lighter than a rifle but more effective than a standard pistol. Today, machine pistols are considered a special purpose weapon with limited utility, and difficult for all but the best shooters to control.