Question: When did Germany sign a non-aggression pact with the allied nation, that was first to reach the capital city where the director of The Man from Morocco was born?

full_context: Document 1: Molotov–Ribbentrop Pact: The stated clauses of the Nazi-Soviet non-aggression pact were a guarantee of non-belligerence by each party towards the other, and a written commitment that neither party would ally itself to, or aid, an enemy of the other party. In addition to stipulations of non-aggression, the treaty included a secret protocol that divided territories of Romania, Poland, Lithuania, Latvia, Estonia, and Finland into German and Soviet "spheres of influence", anticipating potential "territorial and political rearrangements" of these countries. Thereafter, Germany invaded Poland on 1 September 1939. After the Soviet–Japanese ceasefire agreement took effect on 16 September, Stalin ordered his own invasion of Poland on 17 September. Part of southeastern (Karelia) and Salla region in Finland were annexed by the Soviet Union after the Winter War. This was followed by Soviet annexations of Estonia, Latvia, Lithuania, and parts of Romania (Bessarabia, Northern Bukovina, and the Hertza region). Concern about ethnic Ukrainians and Belarusians had been proffered as justification for the Soviet invasion of Poland. Stalin's invasion of Bukovina in 1940 violated the pact, as it went beyond the Soviet sphere of influence agreed with the Axis.
Document 2: The Man Between: The Man Between (also known as Berlin Story) is a 1953 British thriller film directed by Carol Reed and starring James Mason, Claire Bloom, Hildegard Knef and Geoffrey Toone. The screenplay concerns a British woman on a visit to post-war Berlin, who is caught up in an espionage ring smuggling secrets into and out of the Eastern Bloc.
Document 3: Max Ehrlich: Max Michaelis Ehrlich (7 December 1892, Berlin – 1 October 1944, Auschwitz concentration camp) was a German actor, screenwriter, and director on the German theater, comedy and cabaret scene of the 1930s.
Document 4: Guido Seeber: Guido Seeber (22 June 1879 in Chemnitz – 2 July 1940 in Berlin) was a German cinematographer and pioneer of early cinema.
Document 5: Mutz Greenbaum: Mutz Greenbaum (3 February 1896 – 5 July 1968), sometimes credited as Max Greene or Max Greenbaum, was a Berlin, Germany-born film cinematographer.
Document 6: Division of Korea: At the Tehran Conference and the Yalta Conference, the Soviet Union promised to join its allies in the Pacific War in two to three months after victory in Europe. On August 8, 1945, three months to the day after the end of hostilities in Europe, and two days after the atomic bomb was dropped on Hiroshima, the Soviet Union declared war on Japan. Soviet troops advanced rapidly, and the US government became anxious that they would occupy the whole of Korea. On August 10, 1945 two young officers -- Dean Rusk and Charles Bonesteel -- were assigned to define an American occupation zone. Working on extremely short notice and completely unprepared, they used a National Geographic map to decide on the 38th parallel. They chose it because it divided the country approximately in half but would place the capital Seoul under American control. No experts on Korea were consulted. The two men were unaware that forty years before, Japan and pre-revolutionary Russia had discussed sharing Korea along the same parallel. Rusk later said that had he known, he ``almost surely ''would have chosen a different line. The division placed sixteen million Koreans in the American zone and nine million in the Soviet zone. To the surprise of the Americans, the Soviet Union immediately accepted the division. The agreement was incorporated into General Order No. 1 (approved on 17 August 1945) for the surrender of Japan.
Document 7: Maxime Alexandre: Maxime Alexandre (February 4, 1971 in Ronse, East Flanders, Belgium) is a Belgian cinematographer, with a career focused mostly on horror movies.
Document 8: Race to Berlin: The western Allies' decision to leave eastern Germany and the city of Berlin to the Red Army -- honoring the agreement they made with the Soviet Union at Yalta -- eventually had serious repercussions as the Cold War emerged and expanded in the post-war era.
Document 9: Molotov–Ribbentrop Pact: On August 19, the 1939 German–Soviet Commercial Agreement was finally signed. On 21 August, the Soviets suspended Tripartite military talks, citing other reasons. That same day, Stalin received assurance that Germany would approve secret protocols to the proposed non-aggression pact that would place half of Poland (border along the Vistula river), Latvia, Estonia, Finland, and Bessarabia in the Soviets' sphere of influence. That night, Stalin replied that the Soviets were willing to sign the pact and that he would receive Ribbentrop on 23 August.
Document 10: Our Man in Jamaica: Our Man in Jamaica/Operation Jamaica () is an 1965 Italian Spanish German international co-production Eurospy adventure film directed by an uncredited Mel Welles. It was credited to for reasons of European funding.
Document 11: Spectre (2015 film): After wrapping up in England, production travelled to Morocco in June, with filming taking place in Oujda, Tangier and Erfoud, after preliminary work was completed by the production's second unit. An explosion filmed in Morocco holds a Guinness World Record for the "Largest film stunt explosion" in cinematic history, with the record credited to production designer Chris Corbould. Principal photography concluded on 5 July 2015. A wrap-up party for Spectre was held in commemoration before entering post-production. Filming took 128 days.
Document 12: Modern history: After World War II, Europe was informally split into Western and Soviet spheres of influence. Western Europe later aligned as the North Atlantic Treaty Organization (NATO) and Eastern Europe as the Warsaw Pact. There was a shift in power from Western Europe and the British Empire to the two new superpowers, the United States and the Soviet Union. These two rivals would later face off in the Cold War. In Asia, the defeat of Japan led to its democratization. China's civil war continued through and after the war, resulting eventually in the establishment of the People's Republic of China. The former colonies of the European powers began their road to independence.
Document 13: 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 14: 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 15: The Man from Morocco: The Man from Morocco is a 1945 action adventure film directed by Mutz Greenbaum as Max Greene. The film was produced by Welwyn Studios in Great Britain.
ground_truth: 23 August 1939
sub_queries: The Man from Morocco >> director Answer: Mutz Greenbaum
What is the place of birth of Mutz Greenbaum ? Answer: Berlin
what allied nation was the first to reach the german capitol of Berlin Answer: Soviet Union
when did germany and Soviet Union sign non aggression pact Answer: 23 August 1939