SAN FRANCISCO—California Gov. Arnold Schwarzenegger, who twice vetoed legislation that would have legalized same-sex marriage, has surprised gay rights supporters by urging a federal judge to allow gay couples to resume marrying in the state without further delay.

Lawyers for Schwarzenegger, Attorney General Jerry Brown, two gay couples and the city of San Francisco all filed legal motions Friday asking Chief U.S. District Court Judge Vaughn Walker to implement his ruling striking California's voter-approved same-sex marriage ban as unconstitutional.

"The Administration believes the public interest is best served by permitting the court's judgment to go into effect, thereby restoring the right of same-sex couples to marry in California," the Republican governor's lawyers said on his behalf. "Doing so is consistent with California's long history of treating all people and their relationships with equal dignity and respect."

In his 136-page decision overturning Proposition 8 Wednesday, Walker said he was ordering the state to cease enforcing the 22-month-old ban. But he agreed to suspend the order until he could review the briefs submitted Friday.

The measure's sponsors have asked the judge to keep the ban in effect until their appeal of Walker's ruling invalidating Proposition 8 is decided by higher courts.

They argued in court papers filed earlier this week that resuming gay marriage now would cause legal chaos if the U.S. 9th Circuit Court of Appeals or U.S. Supreme Court eventually reverse Walker's ruling.

It was unclear when the judge would decide whether to grant a stay that would prevent marriage licenses from being issued to gay couples during the appeals process.

If he does clear the way for same-sex couples to wed, lawyers for sponsors of Proposition 8 said Friday they would seek an emergency order from the 9th Circuit to prevent that from happening.

The governor and attorney general almost always defend state laws when they are challenged, regardless of their personal views. But in this case, both Schwarzenegger and Brown refused to participate in fighting the lawsuit aimed at overturning the ban, even though they both were named as defendants.

That left the job of defending Proposition 8 to its backers, a coalition of religious and conservative groups known as Protect Marriage.

Although Schwarzenegger opposed the ban when it appeared on the November 2008 ballot and said after the election that it he hoped a court would overturn it, he officially took a neutral position in the lawsuit.

During the year it was in Walker's courtroom, the judge several times pointedly told the governor's lawyer he was interested in knowing Schwarzenegger's position on the case. Schwarzenegger's Friday motion was his boldest pronouncement on the issue.