CHARLESTON, S.C. (AP) _ Attorneys whose lawsuit opened the way for same-sex marriages in South Carolina are asking a federal judge to order the state to pay their legal fees.

The Post and Courier of Charleston reported that the attorneys are asking that the South Carolina attorney general's office pay them nearly $153,000 in legal fees.

Judges can order losing parties to pay their opponents' fees, especially in civil rights cases.

Attorney General Alan Wilson has lost repeated efforts to enforce South Carolina's constitutional ban against same-sex marriage.

The request asks for fees for more than 446 hours of work by seven attorneys who worked to challenge the state's ban.

U.S. District Judge Richard Gergel found South Carolina's ban unconstitutional last month. Wilson's efforts to get the decision overturned have been unsuccessful.