The Stanford prison experiment was funded by the U.S. Office of Naval Research .
The experiment was funded by the U.S. Office of Army Research as an investigation into the causes of difficulties between guards and prisoners in the United States Army .