Anne Hathaway has pledged to donate some of the sales from her wedding photographs to groups advocating for gay marriage.

The 29-year-old Hathaway married longtime boyfriend Adam Shulman in September. She sold several pictures of their big day to several media outlets.

The Dark Knight Rises co-star said she has earmarked the earnings for groups such as the American Cancer Society, St. Jude Children's Research Hospital, The Girl Effect and Freedom to Marry.

“We thank Hathaway and Shulman for their support and appreciate their decision to take the opportunity of their nuptials to speak out about why marriage matters,” wrote Adam Polaski in a Freedom to Marry blog post.

During a chat with Chelsea Handler published last year in celebrity glossy Interview, Hathaway called on her home state of New Jersey to legalize marriage equality and discussed her older gay brother.

In accepting the Human Rights Campaign's Ally Award in 2008, Hathaway said she didn't consider herself an ally to the LGBT community but family.

“And so, I'm doing what we should all do with our families: I'm loving you. I support you. I completely accept you as you are, as I hope you do me. And if anyone ever tries to hurt you, I'm going to give them hell,” she said. (The video is embedded on this page. Visit our video library for more videos.)