1 / 12 1 / 12

Matt Bomer may have come out publicly two years ago, but there's one secret he's kept until now -- he's married! The "Magic Mike" actor revealed in this month's issue of Details magazine that he's been married to partner Simon Halls for the past three years.

Discussing his latest role in Ryan Murphy's TV movie adaptation of "The Normal Heart," in which he plays a gay man dying of AIDS during the early days of the epidemic, the actor acknowledges the original play's writer Larry Kramer for helping pave the way for gay rights.

PHOTOS: Hollywood's gay power couples

"I wouldn't have a lot of the rights I have today if it wasn't for people like Larry," Bomer told the mag. One of those rights, of course, is same sex marriage. The mag reveals Bomer, who has 6-year-old twin sons and an 8-year-old son with Halls, married the Hollywood publicist back in 2011.

Bomer, who came out in 2012 while accepting an award at the Desert AIDS Project's Steve Chase Humanitarian Awards, said that he first read The Normal Heart when he was in high school. Upon hearing about the project, he "just wanted to be involved …in some capacity."

PHOTOS: Celebrity LGBT allies

"At [the time when I read it], I was clueless and obviously in a different place in relation to my sexuality," he admitted. "I was in romantic relationships with girls—whatever that means at 14. And it completely rocked my world…It's just an amazing call to arms."

The "White Collar" actor had to lose a shocking 40 pounds for the role, which he accomplished with the help of doctors and a 14-day alkalized-water, juice, tea and enzyme cleanse. Bomer also sought advice from "Magic Mike" co-star Matthew McConaughey, who similarly shed almost 50 pounds to play AIDS activist in the Oscar-nominated drama "Dallas Buyers Club."

PHOTOS: Out and proud stars

"He called me and walked me through what he did," Bomer recalls of the Academy Award winner's help. "It was very generous, but I took a slightly different path."


Like us on Facebook?

Johnny Depp's engagement confirmed -- will it last?

Most expensive weddings


The Top 7 trends from spring 2014

Rita Ora is from Kosovo? Who knew!