The evolution of cognitive psychology, traced from the beginnings of a rigorous experimental psychology at the end of the nineteenth century to the cognitive revolution at the end of the twentieth, and the social and cultural contexts of its theoretical developments.