Fox News Host Bill O’Reilly will lose residential custody of his children following a New York appeals court ruling last week.

The The Nassau County Supreme Court ruling upheld a lower-court decision that the kids, ages 13 and 17, should live with the Fox News Channel host’s ex-wife, Maureen McPhilmy, according to court documents. O’Reilly and McPhilmy divorced in 2011 and have been battling for custody ever since. The lengthy ruling was finally rendered on Feb. 24.

Also Read: How Jeff Zucker Turned Donald Trump From a Reality Star to a Frontrunner (Video)

“There is a sound and substantial basis for the Supreme Court’s determination that it is in the best interests of the children for the mother to be awarded primary residential custody,” the ruling says. The judgment awards full-time custody to McPhilmy, while granting O’Reilly a share of legal custody, allowing him equal say in material matters concerning the children.

Pamela Chelin contributed to this report.



Related stories from TheWrap:

Why the GOP Perception of Fox News Doesn’t Impact Viewership

Fox News Tops All of Basic Cable for 5th Straight Week

Fox News, CNN Trounce MSNBC During Big News Day