After months of contention, Robin Thicke and Paula Patton end their bitter custody dispute

WEST HOLLYWOOD, CA - FEBRUARY 26: Singer Robin Thicke (L) and actress Paula Patton arrive at the 2012 Vanity Fair Oscar Party hosted by Graydon Carter at Sunset Tower on February 26, 2012 in West Hollywood, California. (Photo by Pascal Le Segretain/Getty Images)

Videos by Rare

Videos by Rare

Robin Thicke and his estranged wife, Paula Patton, have finally reached an agreement in the long and heated custody battle over their 7-year-old son, Julian.

According to court documents obtained by E! News, the young boy will stay with Thicke Monday through Wednesday and will stay with Patton Wednesday through Friday. The co-parents will then alternate weekends with their son. They also hashed out a holiday and vacation schedule that ensures they both get equal time with Julian.

RELATED: A baby is on the way for singer Robin Thicke and his girlfriend April Love Geary

“The parties are ordered to share in all major decisions concerning the minor child’s health, education and welfare are including, but without limitation, schooling, religion, medical care and enrichment activities,” the documents further explained.

The news of their settlement came just one day after Thicke announced that he and girlfriend April Love Geary are expecting their first child together. The child’s due date also happens to be on Thicke’s late father Alan’s birthday, March 1.

Thicke and Geary have been dating since he and Patton announced their separation back in 2014. Before that, the singer and Patton, who have known each other since they were teenagers, married in 2005.

RELATED: Alan Thicke’s widow claims her stepsons have this controversial plan for his family ranch

What do you think?

In Houston alone, a massive sex sting operation netted 250 arrests – almost 1,000 more nationwide

Crashing through a barrier and falling into the bayou below, a motorcyclist body was discovered in southwest Houston Friday