Submachine guns became widely used. They were especially used 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.