The parent company of CBS and the network's former chief executive, Les Moonves, agreed to pay $9.75 million after a state investigation found that the network and its senior leadership concealed accusations of sexual harassment against Mr. Moonves.

The company said it would pay $7 million. Mr. Moonves will make a payment. Paramount will pay $14.75 million to resolve a shareholder lawsuit.

In a statement, Paramount confirmed that it had reached a settlement with the New York attorney general.

The statement said that the matter did not relate to the current company and that the former C.E.O. was fired for cause.

In September of last year, Mr. Moonves stepped down from CBS after being accused of sexual harassment. He denied the accusations. A lawyer for Mr. Moonves didn't reply immediately.

The company's leadership knew about the allegations against Mr. Moonves before they became public, according to the New York attorney general's office.

"As a publicly traded company, CBS failed its most basic duty to be honest and transparent with the public and investors."

Mr. Moonves was credited with turning CBS into television's most-watched network. The New Yorker published an article about six women accusing Mr. Moonves of sexual harassment in July of last year. Six more women came forward with claims against Mr. Moonves in an article published by the magazine.

Three months after Mr. Moonves stepped down, the company said he was fired for violating company policies and breaching his employment contract.