The Nas versus Kelis custody battle over their 8-year-old son has thankfully come to an amicable end. The ex-couple has agreed to share joint legal as well as physical custody of their son Knight.

The legal docs have not been made available but TMZ says the negotiation is very specific to the point of who will be spending time with their son on varying holidays throughout the year, as they will be alternating birthdays with the New York rapper taking the even ones.

Just yesterday (March 19) it was reported that both of the artist's lawyers were firing off insults toward each other making hopes of an agreement grim. Kelis claims to sit in on a deposition when Nas' attorney reportedly referred to the singer's legal representation as a "fattie" and "dick."

At the very end of 2017 Esco claimed Kelis was being "hostile" throughout the heated custody battle. The Queens MC previously believed his ex wasn't interested in coming to a mutually-beneficial agreement.

The "Milkshake" artist is also looking for more than the $8,000 a month Nas currently gives her as his net worth continues to skyrocket with a plethora of good investments ranging from Bitcoin to making $40 million by aligning with a doorbell company.

It's good to see cooler heads prevail in this situation as the co-parents did right by their child. Nas and Kelis formerly tied the knot back in 2005 before divorcing five years later (May 2010).

See 10 Critically-Acclaimed Books Rappers Live By

More From XXL