Same-sex marriage in North Carolina has been legally recognized since October 10, 2014, when a U.S. District Court judge ruled in that the state's denial of marriage rights to same-sex couples was unconstitutional. Governor Pat McCrory and Attorney General Roy Cooper had acknowledged that a recent ruling in the Fourth Circuit Court of Appeals and the U.S. Supreme Court's decision not to hear an appeal in that case established the unconstitutionality of North Carolina's ban on same-sex marriage. State legislators sought without success to intervene in lawsuits to defend the state's ban on same-sex marriage.