Gerard Butler's manager says the Scottish actor was discharged Friday from the Betty Ford Center in California.

Butler underwent three weeks of treatment at the Rancho Mirage facility for prescription drug abuse, TMZ reported.

"Gerard left Betty Ford early this morning and he's healthy," the actor's manager Alan Siegel told the celebrity news Web site Friday.

Butler's problems initially began during his physically demanding 2006 action picture "300," observers said. The actor had since been struggling with pain management, but the problem became worse when he was hurt in a surfing accident in December while filming "Of Men and Mavericks."

TMZ cited unnamed sources close to Butler as saying the actor realized he was relying too much on prescription drugs and wanted to kick the habit before it became a full-blown addiction.

Butler, 42, also developed issues with cocaine, the insiders told the celebrity news Web site, but his biggest problem appears to be pain management from past injuries, they said.

His film credits include "Lara Croft Tomb Raider: The Cradle of Life,""The Phantom of the Opera,"

"Beowulf & Grendel,""P.S. I Love You,""Nim's Island,""RocknRolla,""The Ugly Truth,""Gamer,""Law Abiding Citizen,""How to Train Your Dragon,""The Bounty Hunter,""Coriolanus" and "Machine Gun Preacher."