The origin of consciousness has been a major scientific and philosophic debate since ever. Sometimes the origin is considered a philosophical issue, while others consider it a physics issue.
Most modern physical views on consciousness are materialistic. These include, for example, the integrate information theory, where some mathematical quantity $\Phi$ would quantify connectivity, complexity and somehow consciousness.
Modern science is also based on this idea of emergence, that some physics can only be explained as a collective phenomena described by the subigredients. Who was the first science to produce such an hypothesis for consciousness? I would guess that some knowledge of statistics and physical phenomena would be required.
I have found that Thomas Henry Huxley had some theories on how consciousness is an epiphenomena that originates from neural activity. Was he the first or was somebody before him? Or was somebody else after with a more precise emergence hypothesis?
Similar question: When were brains seen as computers for the first time?