Blac Chyna and Rob Kardashian’s messy separation has officially cleared its first hurdle: custody. According to TMZ, the former couple has finally come to an agreement in the custody battle for their 10-month-old daughter, Dream. The two have agreed to joint custody, with Rob getting Dream for just slightly more than 50 percent of the time.

A big factor of this custody battle was, of course, money. Initially, Blac Chyna was asking for more than $50,000 a month from Rob, who wanted to cap it at $10,000. After lots of negotiations and compromises, Rob will now pay Chyna $20,000 a month. More importantly, Chyna has agreed to drop her domestic violence charges against Rob in return for the money. Rob will also be covering Chyna’s legal bills.

Back in July, Chyna was granted a restraining order against Rob in response to his incredibly immature behavior over the summer. While Rob readily agreed to the decision, his lawyer at the time stated that regardless of the restraining order, Rob was concerned about Dream and would fight for custody.  

A large portion of the stack of money Rob will pay out every month will go towards paying nannies for Dream, according to TMZ sources. Rob is still concerned about Chyna’s partying; sources allege that she has left Dream home alone while going out to party, so Rob wants to make sure there is always someone home to take care of his daughter.

In case you need a refresher on the Blac Chyna/Rob Kardashian drama, it all started earlier this summer when Rob went crazy on social media, posting NSFW photos of the mother of his child and accusing her of cheating. The two split for the final time after this outburst. 

In the meantime, Blac Chyna has been working towards building a legitimate music career: she appeared in Yo Gotti's video for "Rake It Up" alongside Nicki Minaj, has been pictured in the studio, and is rumored to be working with the likes of Tory Lanez, Jeremih, Swae Lee, and Yo Gotti for a debut album.