After a lengthy and nasty battle over custody of their 8-year-old son, Kelis and Nas have finally come to an agreement they both can live with.

TMZ reports:

We’ve learned Nas and Kelis have agreed to share joint legal and physical custody of Knight. The agreement is specific, breaking down who gets the child during various holidays. For example, Nas gets Knight on Father’s Day and Kelis gets the child on Mother’s Day.

They’ll alternate Knight’s birthdays … he gets the even years and she gets the odd years.

I’m really happy they were able to get this situation resolved…especially for Knight’s sake.