On Monday, Robin Thicke's sworn testimony regarding the song "Blurred Lines" featuring Pharrell Williams and rapper T.I. was revealed for the first time in a Los Angeles court, Time reports.

Thicke's testimony on Monday was reportedly taken from depositions that he and Pharrell made back in April for the ongoing legal battle with Marvin Gaye's family over whether or not "Blurred Lines" copied the beats and rhythms from Gaye's '70s classic, "Got to Give It Up."

In the past, Thicke claimed that he and Williams had created the song equally. In fact, during an interview with GQ last year, Thicke explained that Gaye's "Got to Give it Up" inspired him and Pharrell to create "Blurred Lines," according to The Hollywood Reporter.

"Pharrell and I were in the studio and I told him that one of my favorite songs of all time was Marvin Gaye's 'Got to Give It Up.' I was like, 'Damn, we should make something like that, something with that groove.' Then he started playing a little something and we literally wrote the song in about a half hour and recorded it," Thicke told GQ.

But now it appears that Thicke's co-creator story has changed. Thicke is now testifying that he was "high on Vicodin" during the creation of "Blurred Lines" which Pharrell Williams created and produced mostly on his own.

"I was high on Vicodin and alcohol when I showed up at the studio. So my recollection is when we made the song ... 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 says in the deposition documents obtained by the Hollywood Reporter. "So I started kind of convincing myself that I was a little more part of it than I was and ... wanted some credit for this big hit. But the reality is, is that Pharrell had the beat and he wrote almost every single part of the song."

Thicke then goes on to admit that he was high for every interview he was involved in while promoting "Blurred Lines."

Thicke's addiction not only affected his musical writing ability, it also affected his marriage. Thicke later reveals in his deposition that after he told his wife, Paula Patton "the truth. She left me."

Click here to read Thicke and Williams' full deposition.