Comedienne Rosie O’Donnell and ex-wife Michelle Rounds have settled a joint legal custody of their adopted 2-year-old daughter, Dakota, on Wednesday.

The former couple finally solved the terms of their divorce that started eight months ago, Entertainment Tonight reports. Round’s lawyer confirmed the news.

O’Donnell told reporters outside the Manhattan courtroom that she and Rounds were both very happy about the outcome. The comedienne also said she “feels great” about their divorce.

“There’s peace in the Middle East,” she joked. “It’s done. We’ve settled.”

The 35-year-old comedienne filed for divorce with Rounds in February after less than three years of marriage. The former couple had been separated since November 2014, O’Donnell’s representative told US Weekly.

After O’Donnell’s announcement, the comedienne left her post at “The View” to focus on her health, family and end of marriage.

In April, Rounds told Entertainment Tonight that her daughter would live a “normal life” if she will have full custody. She also claimed that difference in parenting style was the biggest problem in their relationship.

"I give her mild discipline instead of like -- carte blanche, do whatever you want -- which is more or less how Rosie likes to do things," Rounds said.

Rounds and O’Donnell started dating in 20111 and got married in June 2012. Early 2013, the estranged couple adopted their daughter Dakota as an infant.

This is O’Donnell’s second failed marriage after Kelli Carpenter in 2007. “The Fosters” star is already a parent to four children -- Parker Jaren, 20; Chelsea Belle O'Donnell, 18; Blake Christopher, 15; Vivienne Rose, 12; and Dakota, 2.

Contact the writer at feedback@ibtimes.com.au, or let us know what you think below.