Picture Perfect / REX / Shutterstock / Rex USA 1 / 2
Picture Perfect / REX / Shutterstock / Rex USA 1 / 2

Michael Douglas' son Cameron Douglas has been released from jail.

Cameron, who is the son of Michael and his ex-wife Diandra, spent nearly seven years in jail after being sentenced to five years for possessing heroin and selling drugs including meth in 2010.

His term was extended because he smuggled drugs into prison, and he was placed in solitary confinement from 2012 to 2014 at Maryland's Cumberland Federal Corrections Institute. The 37-year-old's release did come early though as he wasn't scheduled to be out until early 2018.

When Cameron was sentenced to jail, Michael was also battling throat cancer. In May 2016, he told Fox News' Megyn Kelly, "It broke my heart, the combination. When he was sentenced, I knew the amount of time he was going to be spending in federal prison combined with my early cancer at the same time."

Six years ago, he was speaking to Matt Lauer about his son's jail time.

"Look, my son was a drug dealer and he's been trying to kill himself for a while and I can't condone his behavior," he said. "I think the court recognized his drug addiction as well as the crime that he committed. It's an adequate amount of time...to spend in jail, and the best part of it is he will be able to start his life afresh."

He also wrote letters for leniency with his wife Catherine Zeta-Jones to help his son, which were made public.

"The fact that the letters were published was not what we understood," he said. "We believed that they were personal letters to the judge that were to be sealed."

Michael further spoke about the prison system in his 2013 Emmys acceptance for his role of Liberace in "Behind the Candelabra." He told the audience, "I'm questioning the system. At first I was certainly disappointed with my son, but I've reached a point now where I'm disappointed with the system . . . If you happen to have a slip, they punish you. In my son's case, he has spent almost two years in solitary confinement."

But now his son is ready to tell-all about his experiences and is reportedly writing a book.

A source tells Page Six, "Cameron will talk about his struggle being the son and grandson of Hollywood icons, and then his bad decisions which led him to jail, and then solitary confinement. He is staying low-key after his release and plans to spend time with his father and mother. He believes this is a new start, and a chance at a new life."