The terms of the settlement were not disclosed.
The companies issued the following statement:
"Google and Viacom today jointly announced the resolution of the Viacom vs. YouTube copyright litigation. This settlement reflects the growing collaborative dialogue between our two companies on important opportunities, and we look forward to working more closely together."
Google had won the first round of the trials in 2010 at the U.S. District court. But in April 2012, the U.S. Court of Appeals in New York overturned that ruling and sent the case back to the district court. In April 2013, Google won again and the Judge Louis Stanton threw out Viacom's lawsuit.
Viacom said at the time it would appeal the decision.