GSI 1 / 8

Simon Cowell's pregnant girlfriend has finalized her divorce and agreed to keep her seven-year-old son with her ex away from the music mogul.

RELATED: Simon Cowell, Lauren Silverman having a baby, source says

Socialite Lauren Silverman's husband of 10 years, Andrew, filed for divorce in New York in July, shortly after news leaked that she was carrying Cowell's baby.

The former couple managed to avoid a nasty court battle by reaching a mutual settlement in August, with Lauren receiving just over $2 million as per the terms of a prenuptial agreement.

RELATED: Simon Cowell and Lauren Silverman rendezvous in France, are 'definitely an item'

Andrew Silverman had initially cited adultery for the split, but changed his reasoning to state that the marriage had "broken down irretrievably."

They agreed to share joint custody of their only child, Adam, with his mom receiving $3,000 a month in child support. The divorce was recently signed off by Manhattan State Supreme Court Justice Ellen Gesmer.

RELATED: Simon Cowell, Lauren Silverman break silence on pregnancy, her divorce

However, the stipulations for custody have been made very clear: Cowell must stay away from Adam until January, 2015, or risk having to pay a $50,000 penalty, and the boy cannot call anyone other than his biological parents mother or father, reports

Andrew has also agreed not to talk trash about "The X Factor" boss to Adam or allow anyone else around the kid to make cutting remarks about Cowell.

Lauren is due to give birth in February.