Cognitive psychology is a branch of psychology that focuses on the study of mental processes such as perception, attention, memory, and problem-solving. However, before cognitive psychology emerged, there were several other paradigms that influenced the field of psychology.

One of the earliest paradigms was structuralism. Structuralism was a school of thought that focused on breaking down mental processes into their component parts to understand how they work together. The founder of structuralism was Wilhelm Wundt, who established the first experimental psychology laboratory in 1879.

Another paradigm that came before cognitive psychology was behaviorism. Behaviorism rejected the study of mental processes and instead focused on observable behavior. B.F. Skinner was one of the leading figures in behaviorism and believed that all behavior is shaped by environmental factors.

Gestalt psychology was another paradigm that emerged before cognitive psychology. Gestalt psychologists believed that humans perceive objects and patterns as a whole rather than as individual parts. They also emphasized the importance of context in perception.

Humanistic psychology was another paradigm that emerged in the mid-20th century and emphasized individuality, personal growth, and free will. This paradigm focused on subjective experiences and rejected the idea that human behavior could be reduced to simple stimuli-response associations.

Finally, psychoanalysis was also an important precursor to cognitive psychology. Sigmund Freud founded psychoanalysis, which emphasized the role of unconscious thoughts and feelings in shaping behavior.

In conclusion, while cognitive psychology is a relatively new field within psychology, it has been influenced by several previous paradigms such as structuralism, behaviorism, gestalt psychology, humanistic psychology, and psychoanalysis. Each of these paradigms contributed to our understanding of mental processes in different ways and paved the way for cognitive psychologists to continue exploring these processes further through empirical research and experimentation.