Question: What did Germany, and the country that produced the AK-74, sign in 1939?

full_context: Document 1: Molotov–Ribbentrop Pact: At the beginning of the 1930s, the Nazi Party's rise to power increased tensions between Germany and the Soviet Union along with other countries with ethnic Slavs, who were considered "Untermenschen" (inferior) according to Nazi racial ideology. Moreover, the anti-Semitic Nazis associated ethnic Jews with both communism and financial capitalism, both of which they opposed. Consequently, Nazi theory held that Slavs in the Soviet Union were being ruled by "Jewish Bolshevik" masters. In 1934, Hitler himself had spoken of an inescapable battle against both Pan-Slavism and Neo-Slavism, the victory in which would lead to "permanent mastery of the world", though he stated that they would "walk part of the road with the Russians, if that will help us." The resulting manifestation of German anti-Bolshevism and an increase in Soviet foreign debts caused German–Soviet trade to dramatically decline.[b] Imports of Soviet goods to Germany fell to 223 million Reichsmarks in 1934 as the more isolationist Stalinist regime asserted power and the abandonment of post–World War I Treaty of Versailles military controls decreased Germany's reliance on Soviet imports.[clarification needed]
Document 2: Molotov–Ribbentrop Pact: The Molotov -- Ribbentrop Pact, also known as the Nazi -- Soviet Pact, the German -- Soviet Non-aggression Pact or the Nazi German -- Soviet Pact of Aggression (officially: Treaty of Non-aggression between Germany and the Union of Soviet Socialist Republics), was a neutrality pact between Nazi Germany and the Soviet Union signed in Moscow on 23 August 1939 by foreign ministers Joachim von Ribbentrop and Vyacheslav Molotov, respectively. The pact was followed by the German - Soviet Commercial Agreement in February 1940.
Document 3: AK-74: In 1991 the Izhmash factory in the city of Izhevsk began full-scale production of a modernized variant of the AK-74—the AK-74M (M—Russian: "Модернизированный"; "Modernizirovanniy" or "modernized") assault rifle that offers more versatility compared with its predecessor. Apart from several minor improvements, such as a lightened bolt and carrier assembly to reduce the impulse of the gas piston and bolt carrier during firing, the rifle features a new glass-filled polyamide stock that retains the shape of the original AK-74 fixed laminated wood stock, but side-folds to the left like the skeletonized AKS-74 buttstock. Additionally the AK-74M features an improved muzzle device, a reinforced smooth dust cover and a redesigned guide rod return spring retainer that allows firing the GP-25, GP-30 and GP-34 underslung grenade launchers without having to use the previously necessary additional receiver cover fastener. Each AK-74M is fitted with a side-rail bracket for mounting optics. The AK-74M would have been adopted by the Soviet Union as the standard service rifle, and has been accepted as the new service rifle of the Russian Federation.
Document 4: DShK: In addition to the Soviet Union and Russia, the DShK has been manufactured under license by a number of countries, including the People's Republic of China (Type 54), Pakistan, and Romania. Currently, it has been mostly replaced in favour of the more modern NSV and Kord designs. Nevertheless, the DShK is still one of the most widely used heavy machine guns.
Document 5: AKM: Introduced into service with the Soviet Army in 1959, the AKM is the most ubiquitous variant of the entire AK series of firearms and it has found widespread use with most member states of the former Warsaw Pact and its African and Asian allies as well as being widely exported and produced in many other countries. The production of these rifles was carried out at both the Tula Arms Plant and Izhmash. It was officially replaced in Soviet frontline service by the AK-74 in the late 1970s, but remains in use worldwide.
Document 6: AK-12: On 25 May 2010, the Russian media published a Russian Ministry of Defence statement that the AK-12 rifle was to be tested in 2011. The early prototype model (AK-200), was presented to the Russian Prime Minister Vladimir Putin during his official visit to inspect the products of the Izhmash arms manufacturing plant in Izhevsk, it was apparently a basic AK-74 (thus chambered in 5.45×39mm cartridge). The Izhmash's prototype was fitted with a large-capacity 60-round casket magazine. On the early prototype model, the traditional locations of the cocking handle, safety lever and fire selector remained unchanged, but the AK-12's production model featured revisions to all of these features.
Document 7: AK-74: The AK-74 (Russian: or "Kalashnikov automatic rifle model 1974") is an assault rifle developed in the early 1970s by Russian designer Mikhail Kalashnikov to replace the earlier AKM (itself a refined version of the AK-47). It uses a smaller 5.45×39mm cartridge, replacing the 7.62×39mm chambering of earlier Kalashnikov-pattern weapons.
Document 8: MS-74: MS-74 (№74 Factory's Modernised" Sniper rifle ") was a limited edition Soviet sniper rifle, made by Yevgeny Dragunov in 1949 at Izhevsk Machinebuilding Plant. The weapon was based on Mosin's rifle with 7.62×54mmR cartridge. The main aim was to increase accuracy and improve the comfort. It was tested and recommended for use.
Document 9: Molotov–Ribbentrop Pact: The Molotov -- Ribbentrop Pact, also known as the Nazi -- Soviet Pact, the German -- Soviet Non-aggression Pact or the Nazi German - Soviet Pact of Aggression (officially: Treaty of Non-aggression between Germany and the Union of Soviet Socialist Republics), was a neutrality pact between Nazi Germany and the Soviet Union signed in Moscow on 23 August 1939 by foreign ministers Joachim von Ribbentrop and Vyacheslav Molotov, respectively. The pact was followed by the German - Soviet Commercial Agreement in February 1940.
Document 10: Molotov–Ribbentrop Pact: Germany and the Soviet Union entered an intricate trade pact on February 11, 1940, that was over four times larger than the one the two countries had signed in August 1939. The trade pact helped Germany to surmount a British blockade of Germany. In the first year, Germany received one million tons of cereals, half a million tons of wheat, 900,000 tons of oil, 100,000 tons of cotton, 500,000 tons of phosphates and considerable amounts of other vital raw materials, along with the transit of one million tons of soybeans from Manchuria.[citation needed] These and other supplies were being transported through Soviet and occupied Polish territories. The Soviets were to receive a naval cruiser, the plans to the battleship Bismarck, heavy naval guns, other naval gear and thirty of Germany's latest warplanes, including the Me-109 and Me-110 fighters and Ju-88 bomber. The Soviets would also receive oil and electric equipment, locomotives, turbines, generators, diesel engines, ships, machine tools and samples of German artillery, tanks, explosives, chemical-warfare equipment and other items.
Document 11: AK-63: In Hungarian service, the AK-63 replaced the AMD-65, which is nearly identical but features a modified heat shield and a vertical forward hand grip under the barrel. Although the AMD-65 had been the Hungarian service rifle since 1965, it was more expensive to build, and the forward grips had a reputation for being easily damaged in the field. In the late-1970s, the Hungarian Defense Ministry requested that FÉG manufacture a cheaper rifle based on the more traditional Soviet AKM design. By the end of 1977, the AK-63 was adopted by the Hungarian People's Army (beginning with the Ground Forces). In 1978, FÉG added a folding stock AKMS version of the AK-63 to their catalogue; thereafter, the fixed-stock AK-63 became known as the AK-63F (Wooden Stock) and the folding-stock version was designated AK-63D (Descent).
Document 12: Molotov–Ribbentrop Pact: In August 1940, the Soviet Union briefly suspended its deliveries under their commercial agreement after their relations were strained following disagreement over policy in Romania, the Soviet war with Finland, Germany falling behind in its deliveries of goods under the pact and with Stalin worried that Hitler's war with the West might end quickly after France signed an armistice. The suspension created significant resource problems for Germany. By the end of August, relations improved again as the countries had redrawn the Hungarian and Romanian borders, settled some Bulgarian claims and Stalin was again convinced that Germany would face a long war in the west with Britain's improvement in its air battle with Germany and the execution of an agreement between the United States and Britain regarding destroyers and bases. However, in late August, Germany arranged its own occupation of Romania, targeting oil fields. The move raised tensions with the Soviets, who responded that Germany was supposed to have consulted with the Soviet Union under Article III of the Molotov–Ribbentrop Pact.
Document 13: AEK-971: The AEK-971 is a Russian (formerly the Soviet Union) selective fire 5.45×39mm assault rifle that was developed at the Kovrov Mechanical Plant (KMZ) by chief designer Sergey Koksharov in the late 1970s and 1980s (currently manufactured by Degtyarev Plant).
Document 14: Germany–Soviet Union relations, 1918–1941: Cooperation ended in 1933, as Adolf Hitler came to power and created Nazi Germany. The countries' economic relationship dwindled at the beginning of the Nazi era, but some diplomatic initiatives continued through the 1930s, culminating with the Molotov -- Ribbentrop Pact of 1939 and various trade agreements. Few questions concerning the origins of the Second World War are more controversial and ideologically loaded than the issue of the policies of the Soviet Union under Joseph Stalin towards Nazi Germany between the Nazi seizure of power and the German invasion of the USSR on June 22, 1941.
Document 15: History of Germany: In the early 1930s, the worldwide Great Depression hit Germany hard, as unemployment soared and people lost confidence in the government. In January 1933, Adolf Hitler was appointed Chancellor of Germany. His Nazi Party quickly established a totalitarian regime, and Nazi Germany made increasingly aggressive territorial demands, threatening war if they were not met. Remilitarization of the Rhineland came in 1936, then annexation of Austria in the Anschluss and parts of Czechoslovakia with the Munich Agreement in 1938, and further territory of Czechoslovakia in 1939. On 1 September 1939, Germany initiated World War II in Europe with the invasion of Poland. After forming a pact with the Soviet Union in 1939, Hitler and Stalin divided Eastern Europe. After a "Phoney War" in spring 1940, the Germans swept Denmark and Norway, the Low Countries, and France, giving Germany control of nearly all of Western Europe. Hitler invaded the Soviet Union in June 1941.
ground_truth: Molotov -- Ribbentrop Pact of 1939
sub_queries: Which was the country for AK-74? Answer: Soviet Union
what did germany and Soviet Union sign in 1939 Answer: Molotov -- Ribbentrop Pact of 1939