Input (grade 12): He had become addicted to heroin after being prescribed morphine for his asthma and bronchitis many years earlier.
Output (grade 12): He had been addicted to heroin after being prescribed morphine for his asthma and bronchitis many years earlier.