"Skyfall" actor Ben Whishaw has officially come out as gay.

In a statement obtained by the Daily Mail over the weekend, Whishaw's rep confirmed the actor is gay and has been married to his partner, Australian composer Mark Bradshaw, for a year now.

"Ben has never hidden his sexuality, but like many actors he prefers not to discuss his family or life outside of his work," his spokesman said Friday night. "Due to speculation, I can confirm that Ben and Mark entered into a civil partnership in August 2012. They were proud to do so and are very happy."

The British star, who played "Q" in "Skyfall" and is set to reprise the role in "Bond 24," has faced questions about his sexuality before.

Back in March 2011, Out magazine interviewed the 32-year-old while he was juggling roles in two homoerotic plays. One of those characters, from the play "Cock," expressed distaste for labels like "gay" or "straight," described as "words from the '60s made by our parents only invented to get rights." Those roles caused some to wonder about Whishaw's own sexuality.

"[A]s an actor you have total rights to privacy and mystery, whatever your sexuality, whatever you do," he told Out. "I don't see why that has to be something you discuss openly because you do something in the public eye. I have no understanding of why we turn actors into celebrities. It's difficult talking about it. That's why I didn't want to go there, but at the same time I know this is a gay magazine and that means there's a conflict there."

TimeOut caught up with him in April and asked Whishaw why he is so hush-hush about his sexuality. The actor explained that he is a private person and doesn't feel comfortable discussing such topics with people he doesn't know.

Whishaw and Bradshaw reportedly met while working on the 2009 film "Bright Star."

Whishaw's announcement follows on the heels of a tweet actress Raven-Symone sent last week in which she appeared to also confirm that she is gay.