14th amendment requires states to issue marriage licenses to same sex couples.

And to recognize a marriage between two people of the same sex when a marriage was lawfully licensed and performed out of state.

5-4 with Thomas and Scalia dissenting.

Here is the opinion:

http://www.supremecourt.gov/opinions/14pdf…