Hollywood stars Angelina Jolie and Brad Pitt have reached an agreement to guard their children, according to the lawyer in the case.
The couple split up in September 2016 after two years of marriage, with Jolie citing "irreconcilable differences" when she filed for divorce.
The couple has six children – three biologically and three adopted – between the ages of 10 and 17.
Jolie's lawyer did not say how the custody would be divided.
The couple, known as "Brangelina" by fans, met on the film "Miss and Mrs. Smith" in 2004 and together they were together for 10 years before getting married.
The marriage was the second Pete, the actor had previously married the star Friends Jennifer Aniston and Jolie the third after ties with actors Billy Bob Thornton and Johnny Lee Miller.
After Jolie announced the split, the couple took on a fierce child custody battle, which was investigating that Pit was investigated for the eventual abuse of children after losing his temper before some of the children – he was later released from the allegations.
The agreement means that they will not have to go to a custody trial, but they still do not have a final divorce decree.