NEW YORK (AP) — Disney and Charter Communications announced a deal to settle a dispute that had cut some 15 million cable TV customers off from ESPN and other Disney-owned stations.

The two businesses faced a pressing deadline — the year’s first ‘Monday Night Football’ game, that would have left a lot of angry football fans if they weren’t able to watch the game.

It matches the New York Jets against the Buffalo Bills, and many of the affected customers with the Charter-owned Spectrum TV are in the New York area.

The companies were seeking to nail an agreement for Spectrum to carry Disney’s stations, made difficult by cord-cutting that has cut into cable’s audience.