NBCUniversal and Cable One came to terms Wednesday night on a carriage pact for the Peacock’s key networks, averting the threat of a blackout as of today.

NBCU confirmed the pact shortly before 10 p.m. ET Wednesday, meaning execs were working down to the wire on New Year’s Eve to seal the deal.

“NBCUniversal and Cable One are pleased to have reached an agreement for carriage of USA, Syfy, Bravo, E!, Esquire Network, Oxygen, Sprout, Chiller, Cloo, CNBC, MSNBC, NBCSN, the Golf Channel, mun2, Telemundo and NBC, and Universal HD. This agreement confirms the value of the entire NBCUniversal portfolio. NBCUniversal looks forward to continuing our longstanding relationship with Cable ONE and ensuring that our loyal viewers will always have access to our valuable programming,” NBCU said in a statement.

Phoenix-based Cable One is a small operator — the nation’s 10th largest, serving about 730,000 customers. But the company, owned by former Washington Post parent Graham Holdings, has grabbed Hollywood’s attention for its aggressive stand on programming deals. Last summer, Cable One parted ways entirely with Viacom networks after failing to come to terms on carriage fees for MTV, Nickelodeon, BET and other channels.

Pictured: USA Network’s “Suits”