Only Text Quote

When did it become unconstitutional to exclude homosexual couples from marriage? 1791? 1868, when the 14th Amendment was adopted?