The Defense of Marriage Act (DOMA) was a federal law enacted in 1996 that defined marriage for federal purposes as the union between one man and one woman, thereby denying federal recognition of same-sex marriages. The law was a response to the growing visibility of the gay rights movement and sought to protect traditional marriage amidst societal changes. DOMA significantly impacted the legal landscape for LGBTQ+ individuals and relationships, especially after states began to legalize same-sex marriage.