 In August 1939, he accompanied Ribbentrop to Moscow to sign the Molotov–Ribbentrop Pact.As a diplomat, Dörnberg held the title of Envoy Extraordinary and Minister Plenipotentiary.After the German surrender, Dörnberg was arrested by the Allies and interrogated during the Nuremberg trials as a witness, especially in the Ministries Trial.