• BREAKING NEWS ABC shows live and on-demand -- Download the WATCH ABC app!

OTRC: Gillian Anderson of 'The X-Files' admits she's had lesbian relationships

Gillian Anderson opened up about her past relationships in a recent interview and revealed that she has dated women.

The 43-year-old former "X-Files" star talked to OUT magazine for its April issue and said, "I was in a relationship with a girl for a long time when I was in high school."

Anderson, who hit it big in her role as Agent Scully on the sci-fi drama, stars in an upcoming PBS adaptation of "Great Expectations" as Miss Havisham.

"Yeah, yeah, well it's... You know, I'm old enough that I can talk about that," she confirmed when asked by Aaron Hicklin, the writer of the article and editor-in-chief of the publication, about her relationships with women.

"If I had thought I was 100 percent gay, would it have been a different experience for me?" she said to Hicklin. "Would it have been a bigger deal if shame had been attached to it and all those things that become huge life-altering issues for youngsters in that situation? It's possible that my attitude around it came, on some level, from knowing that I still liked boys."

She later mentions she has had several relationships with other women, however, Hicklin notes "they have been the exception, not the rule."

Anderson has been married twice. She married her first husband, Clyde Klotz, in 1994. The two had a daughter in 1994 and later divorced in 1997. Anderson then married Julian Ozanne, a documentary filmmaker in 2004. The two split in 2006.

The actress has been dating Mark Griffiths since 2006 and the couple has two sons, 5-year-old Oscar and 3-year-old Felix.

Anderson recently appeared in the comedy "Johnny English Reborn" in 2011. The two-part series "Great Expectations" will air on April 1 and April 8 at 9 p.m. on PBS. Check out a preview below.

(Copyright ©2018 OnTheRedCarpet.com. All Rights Reserved.)