Corey Haim

Corey Haim obtained 553 prescription pills in the two months before his death, California Attorney General Jerry Brown told The Associated Press.

Prosecutor links Haim prescription to illegal drug ring

The actor acquired the medications through "doctor-shopping," in which he visited seven different doctors and seven pharmacies, using an alias on at least one occasion, Brown said. The drugs included Valium, Vicodin, Xanax and Soma.

See photos of Corey Haim's life through film

The doctors did not appear to know that Haim was using multiple sources for the medication, said Brown, who called the '80s film star a "poster child" for prescription drug abuse. Investigators have also found that thousands of pills were obtained in Haim's name before this year.

Corey Haim's mother: He died of an enlarged heart, fluid in lungs

Last month, investigators linked Haim to a massive illegal prescription drug ring.

Haim died on March 10 at the age of 38. The coroner has not yet released an official cause of death, but the Lost Boys actor's mother has said her son died of an enlarged heart and that he had fluid in his lungs.

Flip through our gallery of child stars gone too soon