MADISON, Wis. (AP) — A civil rights group filed a lawsuit Wednesday seeking recognition of Wisconsin gay couples who married in June after a judge temporarily blocked the state’s ban on same-sex marriage.

The American Civil Liberties Union filed a federal lawsuit in February challenging the ban. U.S. District Judge Barbara Crabb found the ban was unconstitutional in June and more than 500 gay couples rushed to get married. But a week later, Crabb put the ruling on hold pending appeal, and put the ban back into effect.

READ MORE: 1 Killed, 1 Injured In St. Paul Shooting

Republican Attorney General J.B. Van Hollen has said Crabb’s ruling didn’t give county clerks the authority to issue marriage licenses to same-sex couples and the status of their unions is legally uncertain. He also said prosecutors could choose to charge county clerks who issue marriage licenses to gay couples.

The 7th U.S. Circuit Court of Appeals upheld Crabb’s decision earlier this month. State attorneys now have asked the U.S. Supreme Court to take the case.

READ MORE: Richfield Police Seek Help After Thief Steals Car With Owner's Dog Inside

ACLU attorneys on Wednesday filed a federal lawsuit in Madison on behalf of four gay Wisconsin couples who married during the week between Crabb’s ruling and her decision to put it on hold. The lawsuit seeks a declaration that the weddings were valid. Such a ruling would guarantee the couples a host of legal rights and benefits, including the ability to file joint tax returns and make medical decisions for one another.

“Our clients have married in Wisconsin and that isn’t something the State can take away from them or refuse to recognize,” ACLU attorney Larry Dupuis said in a statement. “The State of Wisconsin has placed hundreds of same-sex couples, including our clients, in an untenable position of not knowing if their marriages will be respected and recognized or simply ignored.”

Van Hollen spokeswoman Dana Brueck had no immediate comment.

MORE NEWS: Twin Cities Thai Restaurant Hires Robot Server Amid Staffing Shortage

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