SALT LAKE CITY (AP) — Opponents and supporters of gay marriage are planning twin rallies at the Utah State Capitol on Tuesday evening.

The opposing gatherings are the latest square-off over gay marriage, an issue that took Utah by surprise over the past month.

More than 1,000 gay couples rushed to wed when a federal judge overturned Utah's constitutional amendment banning same-sex marriage in late December. Voters approved the amendment in 2004.

Same-sex marriages continued in Utah until early January, when the U.S. Supreme Court granted Utah's request for an emergency halt to the weddings.

Republican Gov. Gary Herbert then ordered state agencies to freeze recognition of the marriages.

The state has also appealed the federal judge's ruling to the Denver-based 10th U.S. Circuit Court of Appeals, which is expected to decide in a few months.

While the case will play out in federal court this spring, it could eventually wind up before the Supreme Court.

Brian Brown, president of the National Organization for Marriage, said Utah is the epicenter for the fight over marriage and how it's decided.

"Activist judges now feel no qualms in simply putting forward their opinion as the law," Brown said. "The people of Utah voted on this."

The National Organization for Marriage, a Washington, D.C.-based organization that opposes same-sex marriage, is holding one of the Tuesday rallies in conjunction with a local group called Celebration of Marriage.

Brown said several hundred people are expected to attend the rally, scheduled for 7 p.m. inside the Capitol.

Supporters of same-sex marriage are also planning to rally at 5 p.m. on the Capitol steps, according to The Salt Lake Tribune.

They plan to ask Utah officials not to pay the $300,000 in outside legal help that Utah's attorney general brought on for the appeal.

Same-sex marriage supporters are also asking lawmakers to approve a statewide ban on discrimination based on sexual identity or orientation.

Last year, the proposal made it further than ever in the legislative process, but ultimately failed.

Sen. Steve Urquhart, the Republican from St. George sponsoring the measure, has said he'll keep trying until it passes.

The bill is shaping up to be even more closely watched in the wake of the gay-marriage decision, with conservative groups running television advertisements opposing Urquhart's proposal.