Jennifer Hudson will share equal custody of her son with ex David Otunga.

The 37-year-old singer and her ex-fiance, who have nine-year-old son David Jr. together, reached a custody agreement earlier this month, the details of which have now been revealed.

According to court documents seen by The Blast, Hudson and Otunga have reached a 'fluid' and 'progressive' deal where they will exchange their schedules every two months to propose a plan of care for the next two months.

Amicable decision: Jennifer Hudson is to share 50/50 custody of her son with her ex-fiance David Otunga after the duo finally came to an agreement after two years of court battles

The aim is that they both get 50/50 custody and are both responsible for making important decisions.

Both are prohibited from having a romantic guest spend the night.

Hudson has agreed to pay child support to the former professional wrestler, 39 - the amount of which has not been specified.

Significant others can not be introduced to their son until they are in a 'serious and committed relationship' and 'they will not have overnight guests of a romantic, intimate or dating nature stay overnight during his or her parenting time.'

Hudson and Otunga will need to agree on a public school - which must be in Illinois - and have to help with their son's homework. They are not allowed to take him out of school without warning.

Finances: Hudson has agreed to pay child support to the former professional wrestler, 39 - the amount of which has not been specified. They are pictured in February 2015

The former couple agreed their son will be raised in the Christian faith.

The duo began a custody battle over their son nearly two years ago, with the Chicago Tribune reporting the pair reached their agreement on July 16.

The couple were together for nearly a decade, from 2008- to 2017, but since their split they been consumed by disputes.

Their custody battle began when they split in November 2017- Jennifer filed for an emergency protection order after she claimed David pushed her while holding their son.

A source said at the time: '[They] have been in the process of ending their relationship for a number of months ... Jennifer's actions are solely taken in the best interest of their son. Please respect her privacy at this time.'

A temporary order was granted, though she later dropped the request, and Otunga has consistently denied the allegation, as well as claims of abuse and harassment.

Following a police investigation, he was cleared of any crimes.

The agreement also specifies that significant others can not be introduced to their son until they are in a 'serious and committed relationship' and 'they will not have overnight guests of a romantic, intimate or dating nature stay overnight during his or her parenting time.'

Agreement: Hudson and Otunga will need to agree on a public school - which must be in Illinois - and have to help with their son's homework. They are not allowed to take him out of school without warning

David's attorney claimed the singer had 'decided to file a meritless Petition for Order of Protection in an effort to gain an unfair advantage in the custody dispute.'

The American Idol star also claimed in court documents that her former partner checked their son out of school and left town without alerting her, leading her to fear he might attempt to transport the child out of the state.

In response, David claimed it was all an effort to soil his name. He procured text messages he sent to Jennifer at the time in which he mentioned leaving school for an event, to which she allegedly replied, 'Ok thank u for keeping me posted.'

The acrimony has continued throughout the custody battle, with David and The Voice judge filing various motions against one another, accusing each other of playing legal games.

Happier times: The couple were together for nearly a decade, from 2008- to 2017, but since their split they been consumed by disputes (pictured May 2016)

Jennifer previously accused David of making their son scan the room with an iPad to see if there were men with her and alleged he kept a gun in their home in a bid to 'intimidate her.'

Both kickstarted their careers on reality competitions - Hudson placed seventh on Fox's American Idol in (2004), and Otunga placed third on VH1's I Love New York 2 (2007).

Though Otunga's acting career is limited to a few appearances as himself on TV and a handful of small film roles, he was formerly a wrestler for the WWE and continues to work for the organization as a commentator.