Cablevision and AMC Networks have settled their lawsuit with Dish Network for $700 million, the parties announced.

The deal brings to end a dispute over whether Dish breached an affiliate agreement by terminating AMC's Voom HD Network in 2008. At a trial that began in late September, AMC sought some $2.4 billion in damages from what it believed was Dish's improper termination. Dish had defended itself by saying that it had the authority to cancel the Voom deal based on a contractual clause requiring Cablevision/AMC to invest $100 million per year on the channel. The parties disagreed on whether that money had to go to programming or whether overhead could be included.

As part of the deal to cut short the weeks-long trial, and on top of the $700 million cash settlement, Dish has also reached a new carriage agreement with AMC, bringing the Walking Dead network back to the satellite distributor along with IFC, Sundance, and WE TV. The return of these channels comes months after they were dropped by Dish, leading to relentless commercials from AMC telling fans of Breaking Bad and Walking Dead to abandon Dish.

As part of the agreement between the parties, Dish is also paying an additional $80 million to receive certain wireless spectrum licenses.

“We are glad to have settled the case and reestablished our long-term relationshipswith AMC Networks and Cablevision,” said Dave Shull, senior vice president of programming at Dish. “This multi-year deal delivers a fair value for both parties and includes digital expansion opportunities for AMC Networks’ programming.”

AMC's full press release is below.