On 24 April 1945, just days before the U.S. troops arrived at the camp, the commandant and a strong guard forced between 6,000 and 7,000 surviving inmates – on a death march from Dachau south to Eurasburg, then eastwards towards the Tegernsee; liberated two days after Hitler's death by a Nisei-ethnicity U.S. Army artillery battalion.[43] Any prisoners who could not keep up on the six-day march were shot. Many others died of exhaustion, hunger and exposure.[44] Months later a mass grave containing 1,071 prisoners was found along the route.[45][46]
The photograph below shows Dachau prisoners marching in single file, as they pass the newly constructed administration building that now houses the Museum at Dachau. These prisoners might be on their way to the factories which were just outside the "Arbeit Macht Frei" gate on the west side of the administration building, or they might be marching to pick up construction materials. Usually, an orchestra was playing at Dachau as the prisoners marched to work.

On April 16, 1945 Soviets surrounded Berlin, Germany’s capital. When the Soviets began advancing towards the Reich Chancellery, Hitler committed suicide on April 30, 1945. Then on May 7th, Germany surrendered to the Western Allies in Reims, France and a few days later to the Soviets in Berlin. All told more than 60 million people, or about 3% of the world’s population at the time, were killed during the course of the Second World War.
The most notorious physician was Josef Mengele, an SS officer who became the Auschwitz camp doctor on 30 May 1943.[54] Interested in genetics[54] and keen to experiment on twins, he would pick out subjects from the new arrivals during "selection" on the ramp, shouting "Zwillinge heraus!" (twins step forward!).[55] They would be measured, killed, and dissected. One of Mengele's assistants said in 1946 that he was told to send organs of interest to the directors of the "Anthropological Institute in Berlin-Dahlem". This is thought to refer to Mengele's academic supervisor, Otmar Freiherr von Verschuer , director from October 1942 of the Kaiser Wilhelm Institute of Anthropology, Human Heredity, and Eugenics in Berlin-Dahlem.[56][55][i] Mengele's experiments included placing subjects in pressure chambers, testing drugs on them, freezing them, attempting to change their eye color by injecting chemicals into children's eyes, and amputations and other surgeries.[59]
The first major camp to be encountered by Allied troops, Majdanek, was discovered by the advancing Soviets on 25 July 1944.[375] Treblinka, Sobibór, and Bełżec were never liberated, but were destroyed by the Germans in 1943.[376] Auschwitz was liberated, also by the Soviets, on 27 January 1945;[377] Buchenwald by the Americans on 11 April;[378] Bergen-Belsen by the British on 15 April;[379] Dachau by the Americans on 29 April;[380] Ravensbrück by the Soviets on 30 April;[381] and Mauthausen by the Americans on 5 May.[382] The Red Cross took control of Theresienstadt on 4 May, days before the Soviets arrived.[383][384]
For the prisoners, who worked under SS guards, the private firms they paid a daily rate to the SS Wirtshafts- Verwaltungshauptamt – WVHA  - the prisoners however, received nothing, those who were ill were sent back to the main camp, usually to die. The firms received new, healthier labourers until these too could no longer meet the demands of their employers.
The camp staff consisted mostly of SS males, although 19 female guards served at Dachau as well, most of them until liberation.[60] Sixteen have been identified including Fanny Baur, Leopoldine Bittermann, Ernestine Brenner, Anna Buck, Rosa Dolaschko, Maria Eder, Rosa Grassmann, Betty Hanneschaleger, Ruth Elfriede Hildner, Josefa Keller, Berta Kimplinger, Lieselotte Klaudat, Theresia Kopp, Rosalie Leimboeck, and Thea Miesl.[61] Women guards were assigned also to the Augsburg Michelwerke, Burgau, Kaufering, Mühldorf, and Munich Agfa Camera Werke subcamps. In mid-April 1945, female subcamps at Kaufering, Augsburg, and Munich were closed, and the SS stationed the women at Dachau. Several Norwegians worked as guards at the Dachau camp.[62]
The impact of the Holocaust varied from region to region and from year to year in the 21 countries that were directly affected. Nowhere was the Holocaust more intense and sudden than in Hungary. What took place over several years in Germany occurred over 16 weeks in Hungary. Entering the war as a German ally, Hungary had persecuted its Jews but not permitted the deportation of Hungarian citizens. In 1941 foreign Jewish refugees were deported from Hungary and were shot by Germans in Kam’yanets-Podilskyy, Ukraine. After Germany invaded Hungary on March 19, 1944, the situation changed dramatically. By mid-April the Nazis had confined Jews to ghettos. On May 15, deportations began, and over the next 55 days the Nazis deported more than 437,000 Jews from Hungary to Auschwitz on 147 trains.
Joseph Goebbels made a speech at the beer hall in which he said that he would not be surprised if the German people were so outraged by the assassination of German diplomat Ernst vom Rath by a Polish Jew named Herschel Grynszpan that they would take the law into their own lands and attack Jewish businesses and Synagogues. Goebbels is generally credited with being the instigator of the pogrom. (Pogrom is a Polish word which means an event in which ordinary citizens use violence to drive the Jews out.)
Smith learned that the farm was the "brainchild of the Reichsfuehrer SS, that it was operated by the Institute for the Study of Medicinal and Alimentary Plants, an SS research organization, that German scientists, particularly physicians, botanists, and chemists, supervised the research, that political prisoners who had been scientists in the past were permitted to contribute their talents to the program in return for the privilege of staying alive."

The stench had become intolerable; wrapped in my cloak, a priceless possession, I went out in search of air, to stretch out, to sleep in the open. The ground was muddy and cold, so I kept walking. In front of me, a pile of corpses balanced carefully on one another, rose geometrically like a haystack. There was no more room in the crematoria so they piled up the corpses out here.
These programmes are best seen as a series of linked genocides, each having its own history, background, purpose and significance in the Nazi scheme of things. The Holocaust was the biggest of the killing programmes and, in certain important ways, different from the others. The Jews figured in Nazi ideology as the arch-enemy of the 'Aryan race', and were targeted not merely for terror and repression but for complete extinction. The Nazis failed in this aim because they ran out of time, but they pursued it fanatically until their defeat in 1945. The Holocaust led to widespread public awareness of genocide and to modern efforts to prevent it, such as the 1948 UN Convention on Genocide.
Außenlager Unterlüß-Altensothrieth (Tannenberglager) east of Bergen was in use from late August 1944 to April 13, 1945. It was located at Unterlüß, where the Rheinmetall-Borsig AG had a large test site. Up to 900 female Polish, Hungarian, Romanian, Yugoslavian and Czech Jews had to clear forest, do construction work or work in munitions production.[10]:204