LAS VEGAS (AP) — A dizzying legal wrangle is over in the wedding capital of the world.

Same-sex couples have begun getting marriage licenses in Las Vegas.

County Clerk Diana Alba says a U.S. District Court judge in Las Vegas issued an order striking down a 2002 state constitutional amendment that banned gay marriage.

Same-sex couples cheered at the Clark County marriage license bureau in Las Vegas.

Their hopes of getting married had been in limbo since the 9th U.S. Circuit Court of Appeals ruled Tuesday that gay couples' rights were violated by same-sex wedding bans in Nevada and Idaho.

The Coalition for the Protection of Marriage fought to keep Nevada's ban, but withdrew appeals Thursday to the U.S. Supreme Court and the 9th Circuit.