AUSTIN (AP) – The Texas Supreme Court has questioned whether gay spouses are legally entitled to government-subsidized workplace benefits in a unanimous decision quickly condemned by gay-rights groups.

The court on Friday overturned a lower court’s decision that favored same-sex marriage benefits, ordering the issue back to trial.

READ MORE: Frontier Airlines Rescinds Controversial "COVID Recovery Charge"

Social conservatives hope the case will help them chip away at the landmark U.S. Supreme Court ruling that legalized gay marriage.

READ MORE: Discover DFW: Fort Worth Museum Of Science And History

Friday’s decision was a major reversal for the all-Republican Texas high court that had previously refused to even consider the benefits case after the U.S. Supreme Court ruled on gay marriage.

The court agreed to hear it after coming under intense pressure from Gov. Greg Abbott and the state’s other top Republican politicians.

MORE NEWS: Nebraska Governor Defends Move To Send Troopers To Texas At The Request Of Gov. Abbott

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)