"Viacom is extremely pleased to bring its programming back to DIRECTV subscribers, and thanks everyone affected by the disruption for their patience and understanding during this challenging period," the company said in a statement.

The two companies had been in talks over a new contract but could not agree on its terms before the July 10 deadline, leading to the blackout.

The companies did not disclose the financial terms of the new contract.