WASHINGTON (AP) — Supreme Court Justice Anthony Kennedy has temporarily blocked an appeals court ruling that declared gay marriage legal in Idaho and Nevada.

The order came minutes after Idaho filed an emergency request for a stay this morning.

The 9th U.S. Circuit Court of Appeals' ruling yesterday came a day after the U.S. Supreme Court effectively legalized same-sex marriage in 30 other states.

In another related story, a South Carolina court has issued a marriage license to a same-sex couple despite the state's constitutional ban against the practice and the attorney general's pledge to defend that ban.

Earlier this week, the U.S. Supreme Court decided not to hear an appeal of a ruling allowing same-sex marriage by a federal appeals court with jurisdiction over South Carolina.

The Charleston County judge says as a result, his court is required to accept and issue marriage licenses.