World War II
Submachine guns became widely used, especially in cities and jungles.  The assault rifle, a German development combining features of the rifle and submachine gun, became the main weapon for most armies after the war.