You could call it a belated holiday gift for fans of the New York Yankees and Brooklyn Nets who have Comcast Corp (or XFinity) as their cable provider. An agreement has been reached to bring the YES Network back to the Comcast channel lineup in New Jersey.

Comcast and the Fox News Channel were in negotiations after their contract was set to expire on January 1, 2017. The companies came to an agreement, which helped avert a blackout of the popular television news channel, according to published reports.

Comcast and 21st Century Fox have also come to terms on a new distribution agreement for the Fox's YES regional sports network, which is home to the New York Yankees and some Brooklyn Nets games.

The YES Network was removed from Comcast's channel lineup in November 2015 due to contract disputes. The dispute centered around the cost the Comcast would pay 21st Century Fox per subscriber. The YES Network is operated by 21st Century Fox, which is the same parent company of the Fox News Channel.

Terms of the roughly four-year pact weren’t disclosed, according to The Wall Street Journal.

Unfortunately, it doesn't look the YES Network will return to Comcast's channel lineup until after opening day. The channel will likely not be back on your TV until after the baseball season starts, sources told The Wall Street Journal.

More From 92.7 WOBM