Robin Thicke has confessed that he did not co-write his 2013 hit single “Blurred Lines” and has limited memory of recording it, a court deposition obtained by The Hollywood Reporter revealed. A lawsuit was filed by the children of Marvin Gaye last fall, alleging that the song was a copy of their father’s 1977 song, “Got to Give It Up.”

The April 2014 deposition revealed that Thicke was "high on Vicodin and alcohol" and that his collaborator Pharrell Williams “wrote almost every part of the song.” He also reportedly confessed that he sought credit for the song after it became a huge hit. A Los Angeles federal court reportedly revealed the deposition on Monday that was previously kept confidential.

"I was high on Vicodin and alcohol when I showed up at the studio. So my recollection when we made the song, I thought I wanted -- I wanted to be more involved than I actually was by the time, nine months later, it became a huge hit and I wanted credit," Thicke reportedly confessed in the deposition.

“I was jealous and I wanted some of the credit… I tried to take credit for it later because [Williams] wrote the whole thing pretty much by himself and I was envious of that,” he said, according to The Hollywood Reporter.

The 37-year-old musician also revealed that he was present at the studio when the song was recorded, along with Williams and Clifford "T.I." Harris Jr. All three singers are named in the lawsuit filed by Gaye's children.

Williams agreed with Thicke in his deposition, saying: “This is what happens every day in our industry. You know, people are made to look like they have much more authorship in the situation than they actually do. So that's where the embellishment comes in."

Williams also said that he was “in the driver’s seat” for the song, but added that “Robin Thicke’s voice” was what made the song so popular.

Thicke also reportedly stated in the April deposition that he had been sober for the past two months and revealed that his serious drug abuse was the reason behind his split from wife Paula Patton.

“When your wife [Paula Patton] leaves you, it gives you a good reason to be sober," he reportedly said. "I've actually only been sober off the pills, off of Vicodin. I still drink."