Jesse Williams of Grey’s Anatomy finally got a win in court. He and his ex-wife Aryn Drake-Lee were involved in an ugly custody battle for their two children.

Jesse and Aryn To Share Custody

Now, it looks like a judge has sided with both parties, despite their private arguments in court documents that went public. Williams, who shocked fans when he filed for divorce roughly a year ago from Drake-Lee, a real estate broker, was granted joint custody for his and Drake-Lee’s children. The two are parents to Sadie, 4, and Maceo, 2.

Court documents obtained by PEOPLE Tuesday, March 27, reveal that the actor and his ex will have to stick to two different schedules based on when Williams is taping for ABC’s hit medical drama, Grey’s Anatomy. Drake-Lee and Williams will also take turns in sharing the children when it comes to major holidays like Easter, Fourth of July, Thanksgiving, and Christmas.

On top of that, the documents confirm reports that Williams and Drake-Lee could only speak to one another through an app called Our Family Wizard. It was created to help parents like the actor and his ex-wife communicate peacefully on their children’s behalf after a separation or divorce.

Drake-Lee was also previously granted $50,695 a month in spousal support from Williams.

Has Jesse Moved On?

Willams and Drake-Lee were married for five years before he filed for divorce in April 2017. They tied the knot in September 2012. Prior to that, they dated for five years back when Williams was a teacher.

After their divorce, rumors swirled that Williams was dating actress Minka Kelly. They allegedly started dating just months after Williams filed for divorce. They met while they helping develop a video game together. There were rumors that Williams actually dated Kelly secretly before he filed for divorce. Still, Kelly and Williams made it clear that wasn’t the case.

“All of a sudden [people] are writing think-pieces that I somehow threw a 13-year relationship,” said Williams when he confronted the rumors. “Like, the most painful experience I’ve had in my life with a person I’ve loved with all my heart – that I threw a person and my family in the trash because I thought a girl I work with is cute.”

Since then, he and Kelly allegedly split. Meanwhile, another woman was rumored to be in the picture, Ciarra Pardo. Word is Drake-Lee thought Pardo and Williams were a real couple. Pardo and Williams are childhood friends.

Be sure to keep up with Enstars for the latest news and updates on your favorite celebrities.