As Tony Soprano, actor James Gandolfini battles the Feds. In real life, he's battled drug and alcohol addiction.

The Sopranos star initially denied a published report last week that he had been addicted to cocaine and booze, but his spokesman, Dan Klores, told The Post last night that bombshell allegation is true.

"It's something from years ago . . . that he's taken care of," Klores said.

The report of the actor's drug use -- which came in the middle of a bitter divorce from his wife, Marcy -- was published last week by the National Enquirer.

The paper said it had obtained correspondence between Marcy and her lawyer, Norman Sheresky. Sheresky has claimed the notes were stolen.

Klores said Marcy's side is bringing up Gandolfini's drug use only as a way of "gaining leverage and a better settlement."

For more news, entertainment and sports coverage, click here for NYPost.com.