
Carlos McKnight of Washington waves a flag in support of same-sex marriage outside the U.S. Supreme Court on June 26, 2015. The Supreme Court ruled 5-4 that states cannot ban same-sex marriage, handing gay rights advocates their biggest victory yet. See photos from states that approved same-sex marriage before the nationwide ruling:

Shante Wolfe, left, and Tori Sisson become the first same-sex couple to file their marriage license in Montgomery, Alabama, on February 9, 2015. However, seven months after the U.S. Supreme Court ruling legalizing such nuptials nationwide, Alabama Chief Justice Roy Moore directed probate judges in his state to enforce the ban on same-sex marriage. Gay rights organizations swiftly denounced Moore's January 6, 2016, order.

Newlyweds Jeff Delmay and Todd Delmay hug during a marriage ceremony in a Miami courtroom January 5, 2015. Florida began allowing same-sex marriages after a federal judge struck down the state's ban.

Chad Biggs, left, and Chris Creech say their wedding vows at the Wake County Courthouse in Raleigh, North Carolina, on October 10, 2014, after a federal judge ruled that same-sex marriage can begin in the state.

Joshua Gunter, right, and Bryan Shields attend a Las Vegas rally to celebrate an appeals court ruling that overturned Nevada's same-sex marriage ban on October 7, 2014.