Endorphins

Compounds called endorphins were discovered in the nervous system that alleviate pain by interacting with pain receptors. Endorphins may someday be used in pain control without the addictive qualities and other side effects of opiates.
John Hughes and Hans Kosterlitz England 1975
Endorphins

It was discovered in 1975 that the nervous system gives rise to compounds that alleviate pain. These consist of short chains of amino acids that seem to interact with the pain-receptors. Presumably, morphine and similar opiates work by mimicking the action of these substances, which are now called endorphins.