LOS ANGELES, California (CNN) -- The legal battle between Miss California USA pageant officials and former beauty queen Carrie Prejean ended Tuesday with an agreement to drop their claims, according to a pageant spokesman.

The pageant has dropped its lawsuit filed last month demanding Prejean repay $5,200 given her for breast implants, publicist Kenn Henman said.

Prejean, in exchange, withdrew her suit accusing the pageant of violating her privacy by confirming to reporters that her breasts were fake, he said.

Details of the agreement were not immediately available, he said Tuesday afternoon.

"We are moving forward from the past and looking towards the crowning of two winners and the new look of the upcoming Miss California USA pageant," pageant Executive Director Keith Lewis said in a written statement.

The public fight began last April when Prejean, 22, stepped into controversy by declaring her opposition to same-sex marriage while answering a judge's question at the Miss USA pageant. Prejean finished as first runner-up.

While state and national pageant officials publicly supported her initially, their opinions eventually changed after she continued to make public statements about same-sex marriage.

She held onto her crown through May -- despite a series of questionable photos that emerged on gossip Web sites.

She was dethroned in June by Miss USA pageant owner Donald Trump amid growing complaints by state officials that she was uncooperative and not meeting her contractual obligations.

Prejean filed a lawsuit in Los Angeles County Superior Court in August, claiming that her firing was religious discrimination because of her stand against same-sex marriage.

The pageant's countercomplaint said Prejean's belligerent behavior, lack of cooperation and contract breaches caused her firing, not her opposition to same-sex marriage.

Prejean also claimed pageant officials violated her privacy by acknowledging to reporters that her breasts were fake.

The truth about Prejean's breasts "ceased being private during the swimsuit competition of the nationally televised Miss USA pageant, in which Ms. Prejean walked the stage in a bikini," pageant lawyers said in their countersuit filed in October.

State pageant officials say they loaned the money for the breast surgery under an oral agreement with Prejean and she never repaid them.

The group also asked a judge to give them any profits from Prejean's tell-all book due out this month, which they claim was written in violation of her pageant contract.

One thing they all agreed on was that Prejean needed bigger breasts if she was to be competitive in the national pageant in April, the pageant's filing said.

"Ms. Prejean disclosed that she had been thinking about and wanting to have breast augmentation surgery for some time, but did not have the money to pay for it," the filing said. "She felt that if she had the surgery, in her opinion, she would be more competitive for the Miss USA pageant."

After pageant officials agreed to loan her the money, Prejean underwent breast augmentation in January, the pageant filing said.

The court documents gave an inside look at the hostile relationship between Prejean, California pageant officials and Trump.

After the Miss USA pageant, "With her new-found notoriety, an inflated sense of self, and the lure of financial gain available to her, Ms. Prejean turned even further against the Miss California USA organization, abandoned her obligations as the Miss California USA titleholder, and violated multiple provisions of the contract which governed her reign," the pageant filing said.