Updated

Cameron Douglas, the felon son of actor Michael Douglas, violated the terms of his probation after being released from federal custody in March, The Post has learned.

Douglas — who had his five-year drug sentence extended in 2011 after he was caught with drugs in prison — was caught with marijuana in his system in April, court papers show. According to a recently released transcript of a Manhattan federal court hearing, Douglas’ probation officers told Manhattan federal Judge Richard Berman that Douglas reported to their office for random drug testing April 10 when a lab tech accused the son of Michael and Diandra Douglas of “attempting to manipulate the results.”

More testing was done and a third test came back positive for marijuana, the probation office said.

The probation officers were sympathetic with Douglas, however, telling the judge that “relapse is part of the recovery process.” They recommended he get a second chance to prove he can stay sober.

“We would like to provide Mr. Douglas an opportunity to be in the community to see how he responds to setbacks,” one of the officers said.

Douglas’ lawyer Ben Brafman also argued for leniency, telling Berman that his client is seeing a psychiatrist because he is suffering from “post-traumatic stress disorder” due to his seven-year stint in prison.

“His period of imprisonment was horrific,” Brafman said, adding that Douglas was “subject to terrifying treatment” by fellow prisoners because of his decision to testify against his suppliers.

Asked if Douglas has remained sober, Brafman added: “He is fine and there is no issue.”

In 2012, The Post reported that the heroin-addicted son of the Oscar-winning actor had suffered a broken leg and finger behind bars after a crime-family captain put a $100 bounty on him for being a “rat.”

Douglas also spoke at the May hearing, confirming to the judge that he has had a difficult time adjusting since being released last year. He was first released last summer into a halfway house and now lives in an apartment in New York City.

“I have so much to live for. I have a lot of sort of goals and aspirations that I think that I’m more than capable of achieving,” Douglas told the judge.

“I guess what I want to tell you is that since I’ve come back, I’ve worked really hard, and this hiccup is unfortunate, but I don’t see it happening again.”

Douglas, 38, is scheduled to appear back in court Wednesday for a status update.

Click here for more on this story from the New York Post.