The highest court in Texas issued an emergency order to block same-sex marriages from proceeding in the state after two women who’ve been together for 31 years were finally married Thursday morning. The declaration from the Texas Supreme Court does not invalidate the marriage of Sarah Goodfriend and Suzanne Bryant, who wed after they were denied the chance to legally marry eight years ago. A lawyer petitioned on their behalf and District Judge David Wahlberg ordered the county clerk to grant the women the license. In the petition, the women claimed that not obtaining a license was causing them irreparable harm, because Goodfriend has ovarian cancer. Gay marriage has been illegal in Texas since 1997, but two rulings that found the ban unconstitutional are being appealed. Texas Attorney General Ken Paxton said he is still intending to find a way to invalidate the marriage.