James Franco opened up not only about declining Lindsay Lohan's sexual advances in his interview on The Howard Stern radio show on Monday, but the Spring Breakers star admitted that he has filmed a real-life sex tape.

Franco, 34, who has a three-way sex scene with his Spring Breakers co-stars Ashley Benson and Vanssa Hudgens in the film, said he has recorded himself having sex on-camera with an ex-girlfriend.

The Oz the Great and Powerful star said he performed the dirty deed when he was 19 years old and in a relationship.

"I think that was after 'Freaks and Geeks,'" Franco told the show's host Howard Stern. "It was with my girlfriend."

Franco doesn't initially reveal the name of the woman he performed with at the time, but dropped several hints and eventually said her name in the confession.

"She maybe doesn't want me to say who .... She's an actress. She's married now," Franco hinted at first. Later, he dropped the bomb and said her name.

"I'll say, because it wasn't anything bad. It was an innocent thing we made for ourselves. It wasn't like Screech where we made it for public consumption or something, and everybody knows. I dated an actress named Marla Sokoloff for like four years."

Solokoff, who is know for her ongoing role on ABC's The Practice, is now married to Alec Puro, a musician, for four years.

Franco has been rumored to be dating Benson, his Spring Breakers co-star.

Franco admitted in the same interview that he turned down the opportunity to become romantically involved with Mean Girls star Lindsay Lohan.

"You turned down sex with Lindsay Lohan, didn't you?" Stern asked Franco. "Back then when she was a lot hotter?"

"Oh, gosh. Poor Lindsay," Franco said. "I haven't talked to her in a while. We were friends."

Franco said he met the six-times arrested actress while he was staying at Hollywood's Charteau Marmont while his house was being renovated.

"My house in L.A. was being redone, so I did this thing where I just stayed at the hotel, and she had been living there for a couple years," Franco said of Lohan.

"I mean, I don't want to brag about it," Franco replied. "I don't know how that got out. [Lindsay] was having issues even then, so you feel weird," Franco explained of the "Mean Girls" actress, who has been arrested six times.

"Honestly, she was a friend. I've met a lot of people that are troubled and sometimes you don't want to do that," he added.

Spring Breakers, which also stars Selena Gomez, rapper Gucci Mane and Rachel Korine was directed by Kids director Harmony Korine. It was released in theaters nationwide on March 22.