<human>:  In the legalization of Gay marriage, how did the Supreme Court rule on this?
<bot>: The Supreme Court ruled that the Defense of Marriage Act was unconstitutional. The Defense of Marriage Act was a federal law that defined marriage as between a man and a woman. The Supreme Court ruled that the law was unconstitutional because it violated the equal protection clause of the 14th Amendment.