The Defense of Marriage Act (DOMA) was a federal law enacted in 1996 that defined marriage as the union between one man and one woman, effectively denying federal recognition of same-sex marriages. This law played a significant role in shaping the legal landscape for LGBTQ+ rights and sparked extensive legal battles and activism within the LGBTQ+ community, particularly in relation to marriage equality.