The Episcopal Church has completed its embrace of gay rights, changing church law to allow same-sex religious marriages throughout the denomination, just days after the U.S. Supreme Court legalized gay marriage nationwide.

Texas’ conservative Republican Attorney General Ken Paxton called the Supreme Court decision giving same-sex couples the right to marry a “lawless ruling” and said state workers can cite their religious objections in denying marriage licenses.