Heroin was initially used to treat people addicted to morphine.

Heroin was initially used to treat people addicted to morphine.

Source