He signed the Don't Ask Don't Tell Repeal Act of 2010 in 2010, allowing openly gay men and openly lesbian women in the armed forces. On May 9, 2012, he became the first sitting US President to openly support legalizing same-sex marriage.