After a lot of stress and even a restraining order, Gina Kirschenheiter has been granted a divorce from Matt.

Now, court records from the judge's ruling are shedding light on the results of the divorce.

For the first time, fans are learning how much Gina will receive in support, their custody deal, and how much Matt makes.

Gina Kirschenheiter, Husband

This week, court documents obtained by The Blast revealed new details of the Kirschenheiter divorce.

Gina and Matt share seven-year-old Nicholas, five-year-old Sienna, and four-year-old Luca

As you may recall, they have a temporary custody agreement already in which Matt gets supervised visits.

Now, the court has awarded shared legal custody to both parents, but that doesn't put them on equal footing.

Gina will retain primary physical custody of the three children, and Matt will get them on "some weekends."

Gina Kirschenheiter Image

Now it turns out that Matt is going to paying monthly support to Gina -- to the tune of about $10,000.

$4,500 per month will be child support (that means about $1,500 per child) and then $5,127 per month will go to Gina.

(Keep in mind that these are young children; if they were teens, their expenses would be higher)

That adds up to $9,627, which comes out to $115,524 per year.

Those figures are based in part upon Matt's salary and annual commissions of $421,000 per year.

Matthew Kirschenheiter and Gina Kirschenheiter

The court has instructed Gina and Matt to attend at least one co-parenting class per month.

As is often the case in family court, both parties have been cautioned against speakin ill of the other to or in front of their children.

Since Matt and Gina will soon be officially, legally single (as of January 1), dating is a very real possibility for both of them.

The judge advises them both against introducing people whom they date to the children until the relationship is serious.

Or, at least, until the other gives them their go-ahead.

Gina Kirschenheitr Promo Pic

Division of property is always a big deal in divorces.

Gina's clothing and jewelry collection are worth a great deal, and she will retain ownership of those.

She will also keep her car, a Chrysler Town and Country.

Matt also keeps his personal belongings, along with a 2015 Lexus.

There are additional property decisions that must be made, which is why the divorce does not officially take place until the end of the year.

Gina Kirschenheiter Hat Pic

On a recent episode of The Real Housewives of Orange County, Gina explained the reason for their divorce.

"With Matt, we moved here and Luca was like four months old," she recalled. "And he had an affair."

"We tried to work through it the best we could," she explained. "We’re in therapy."

"It opened our eyes to other problems in the relationship," Gina admitted.

"And so, when I filed for divorce and then meeting everybody going forward, for my kids’ sake, I just felt like it wasn’t necessary to share that," she said.

Gina concluded: "I didn’t want to take that from my kids."

Gina Kirschenheiter and Family

Affairs are a big deal, and plenty of marriages have ended over less.

But given that Matt allegedly threatened Gina's life and was arrested on suspicion of domestic violence back in June, there may be more to it.

No matter what, it's clear that this couple needed to divorce, so we're glad that their marriage has come to an end.

Some people just should not be together.