CBS Corp and Dish Network Corp resolved a dispute over the fees the satellite TV provider pays to the broadcaster, ending a blackout that affected nearly 3 million customers across 26 states.

CBS said late Thursday it reached a multi-year agreement with Dish for carrying its own stations, as well as the CBS Sports Network, POP and the Smithsonian Channel. Financial terms of the deal were not disclosed.

Dish said in a separate statement that the CBS channels were being restored to its customers. (Reporting by Ismail Shakil in Bengaluru; Editing by Saumyadeb Chakrabarty)

Want to learn how to invest?

Get a free 10 week email series that will teach you how to start investing.

Delivered twice a week, straight to your inbox.