Design work on the AK-47 began in the last year of World War II (1945). After the war in 1946, the AK-46 was presented for official military trials. In 1948 the fixed-stock version was introduced into active service with selected units of the Soviet Army. An early development of the design was the AKS (S—Skladnoy or "folding"), which was equipped with an underfolding metal shoulder stock. In 1949, the AK-47 was officially accepted by the Soviet Armed Forces and used by the majority of the member states of the Warsaw Pact. The weapon was supplied to Nicaraguan Sandinistas, Viet Cong as well as Middle Eastern and Asian revolutionaries. More recently they have been seen in the hands of Islamic groups such as the Taliban and Al-Qaeda in Afghanistan and Iraq.
The original AK-47 was one of the first assault rifles of 2nd generation, after the German StG 44. Even after six decades the model and its variants remain the most widely used and popular assault rifles in the world because of their durability, low production cost, availability, and ease of use. It has been manufactured in many countries and has seen service with armed forces as well as irregular forces worldwide. The AK-47 was the basis for developing many other types of individual and crew-served firearms. More AK-type rifles have been produced than all other assault rifles combined.