The Defense of Marriage Act (DOMA) is a United States federal law that, prior to being ruled unconstitutional, defined marriage for federal purposes as the union of one man and one woman, and allowed states to refuse to recognize same-sex marriages granted under the laws of other states.