Gerard Butler is on the mend.
The Scottish actor, 42, has wrapped up a substance treatment program, his rep confirmed.
"Gerard has completed a successful course of treatment and has returned home in good health," the spokesperson tells Us Weekly. The actor's rep had no further comment.
According to TMZ, the Bounty Hunter star checked in to the Betty Ford Center three weeks ago to deal with an escalating problem with prescription pills.
Butler's problem reportedly began following injuries while making the action epic 300 in 2006; a December 2011 surfing accident in his film Of Men and Mavericks made his pain-management challenges worse.
TMZ also reports that Butler struggled with cocaine use as well.