After several grueling months in court, Nas and Kelis have reportedly reached an agreement in their custody battle. The exes have specified dates in which they will see their 8-year-old son, Knight, TMZ reports.

According to court documents obtained by the new site, Nas will have custody of Knight on the weekends, while he will stay with his mother the on the weekdays. Nas will reportedly receive four full weekends from Jan. 2018 to Mar. 2018, starting after school on Fridays and ending on Sunday night.

The agreement comes only weeks after Nas alleged his ex-wife was withholding visitation rights. The Illmatic artist also accused the singer of being “hostile,” according to TMZ.

tagged in Kelis, Nas