Gay marriage was legalized nationwide in the United States on June 26, 2015. This was the result of the landmark U.S. Supreme Court ruling in the case Obergefell v. Hodges, which struck down all state bans on same-sex marriage. The ruling made same-sex marriage a constitutional right across all 50 states and required states to recognize same-sex marriages performed in other jurisdictions. Before this decision, same-sex marriage was already legal in several states, but this ruling ensured it was legal throughout the entire country.