The Stanford prison experiment was a scientific experiment done at Stanford University in 1971. The experiment was done in the field of psychology. It tried to recreate the conditions at a prison. Philip Zimbardo was the psychologist who led the experiment. Twenty-four undergraduate students were selected to play the role of either prisoner or prison guard. The role was assigned at random. The students adapted to the roles beyond what Zimbardo had imagined. After some time, the guards used authoritarian measures.