 During and after the end of World War II , many MP 40s were captured or surrendered ( upwards of 200 @,@ 000 ) to the Allies and were then redistributed to the paramilitary and irregular forces of some developing countries . The Norwegian army withdrew the MP 38 in 1975 , MP 40 was used for some years more , the territorials ( Heimevernet ) used it until about 1990 , when it was replaced by Heckler & Koch MP5 . 
