Scott Foley is putting to rest stories that there was a third party involved in the breakup of his marriage to “Alias” star Jennifer Garner — who is now linked to her costar Michael Vartan.

“Nobody else was involved,” Foley, 31, tells TV Guide. “Jennifer became a huge celebrity. She became a huge star, and she deserved everything she got. There was no other relationship, there was no infidelity, nothing. People get divorced, you know? Through no one’s fault and everyone’s fault.”

Possibly as a result, Foley, who has shaved his head for an upcoming role in the new Broadway play “The Violet Hour,” claims that stardom is no longer of interest to him.

“I’ve seen the demands that it requires, and I don’t have the patience for that. If it comes along, it comes along,” he says.

In divorce papers filed by Garner in Los Angeles Superior Court on May 9, the actress, 31, cited irreconcilable differences but offered no other reason for the breakup.

The papers, did, however, cite the couple’s date of separation as March 23 — the day of the Oscars. That night, Garner (who served as a presenter for the ceremony) showed up without Foley and had a female pal as her date.

On April 1, the couple announced that they had mutually decided to separate.

The couple met in 1998 on the set of “Felicity,” the WB drama in which Foley costarred. They married in 2000, and Garner’s star has been on the rise ever since.

Aside from her breakthrough, butt-kicking role as spy Sydney Bristow on ABC’s “Alias,” she was recently seen costarring with Ben Affleck in “Daredevil” and briefly opposite Leonardo DiCaprio in “Catch Me If You Can.”

Foley, meanwhile, starred in the short-lived NBC comedy “A.U.S.A.” In “The Violet Hour,” which is by Richard Greenberg (whose gay baseball drama, “Take Me Out,” was this year’s best play Tony winner), Foley costars with Robert Sean Leonard, Dagmara Dominczyk, Jasmine Guy and Mario Cantone (“Sex and the City”).

Set in New York in 1919, the play concerns a young publisher who must choose between publishing the memoirs of his lover or a novel by a friend, while dealing with a mysterious machine that could change his future. Previews begin Thursday prior to a Nov. 6 opening.