The same-sex marriage movement suffered setbacks in two states Friday, while enjoying an advance in one.

A federal appeals court ruled Oklahoma’s same-sex marriage ban unconstitutional, affirming a federal judge’s January decision while keeping the state’s ban in place for now.

Meanwhile, the Colorado Supreme Court ordered the Denver County clerk to stop issuing marriage licenses to same-sex couples, and U.S. Supreme Court Justice Sonia Sotomayor ruled that Utah may continue to deny marriage benefits to more than 1,000 married same-sex couples.

The Oklahoma ruling represents a safe advance for the movement, which has enjoyed a string of legal victories since the Supreme Court struck part of the Defense of Marriage Act last summer, thereby granting federal recognition of same-sex marriages.

In its Friday ruling, the 10th Circuit Court of Appeals affirmed a January decision in which U.S. District Judge Terence Kern struck Oklahoma’s ban, writing that the constitutional guarantee of equal protection under the law “is not a scarce commodity to be meted out begrudgingly or in short portions.”

In a survey last year, Gallup found that 3.4 percent of Oklahomans identified as lesbian, gay, bisexual or transgender.

The 2-to-1 ruling comes from the same panel that last month affirmed a similar decision striking Utah’s ban. That Utah ruling represented the first time an appellate court applied the Supreme Court DOMA decision to state marriage bans. In both cases, the panel stayed its own ruling, pending the state’s appeal.

Oklahoma may now either ask the full bench circuit court to reconsider the case, or it can opt to appeal directly to the Supreme Court as Utah has, according to the Human Rights Campaign, a pro-gay marriage group.

The Supreme Court weighed in, albeit tepidly, on Utah’s ongoing fight over same-sex marriage. In a two-sentence order Friday, Sotomayor put a lower court’s May decision on hold pending appeal, thereby allowing Utah to continue denying marriage benefits to more than 1,000 same-sex couples wed during a 17-day window in late December and early January.

In Colorado, the state Supreme Court ordered the Denver County clerk to stop issuing marriage licenses to same-sex couples. Shortly after the 10th Circuit’s Utah ruling last month, clerks in the state — which is also part of the 10th Circuit — began allowing same-sex marriages.