Nazi human experimentation was a series of medical experiments on large numbers of prisoners by the German Nazi regime in its concentration camps during World War II. Prisoners were coerced into participating: they did not willingly volunteer and there was never informed consent. Typically, the experiments resulted in death, disfigurement or permanent disability. At Auschwitz and other camps, under the direction of Dr. Eduard Wirths, selected inmates were subjected to various experiments which were supposedly designed to help German military personnel in combat situations, develop new weapons, aid in the recovery of military personnel that had been injured, and to advance the racial ideology backed by the Third Reich. Dr. Aribert Heim conducted similar medical experiments at Mauthausen. Carl Vaernet is known to have conducted experiments on homosexual prisoners in attempts to cure homosexuality. After the war, these crimes were tried at what became known as the Doctors' Trial, and revulsion at the abuses perpetrated led to the development of the Nuremberg Code of medical ethics.