The two sides battling over the return of a portion of the AIDS Memorial Quilt to San Francisco have settled on an agreement after a contentious two-year court battle, attorneys for each side said Tuesday.

Jones' attorney, Angela Alioto, then filed a motion with San Francisco Superior Court to make the transcript of the oral agreement between the parties the legal, written settlement. On Monday, an attorney for the Names Foundation filed a statement of non-opposition to Alioto's motion.

The settlement will become official once a judge approves the two filings, which should come during a Dec. 23 hearing, said Charles Thompson, attorney for the foundation.

As part of the settlement, Jones will receive 35 blocks of the quilt -- each 12 feet square -- once he creates an organization in San Francisco to oversee them. He also will be able to nominate four people for two positions on the foundation's board of directors.

Alioto had said the foundation tried to change terms of the settlement, denying Jones the very first panel of the quilt, which he made in honor of his best friend, and declining to put on its Web site a link to the San Francisco organization Jones plans to start.

Thompson said he would not comment on that part of the settlement talks.

"The Names Project Foundation agreed to cooperate with the initial settlement of the case once Mr. Jones withdrew demands that Names did not believe were part of the original agreement. Had he stuck with the original agreement, perhaps there would not have been a delay in returning more of the quilt to San Francisco," Thompson said.

In the court transcript that will become the legal settlement, the parties agree to put a link to Jones' Web site on the foundation site and to the return of the first panel.