CBS and its former president, Leslie Moonves, will pay $30.5 million as part of an agreement with the New York attorney general’s office, which says the network’s executives conspired with a Los Angeles police captain to conceal sexual assault allegations against Moonves.Under the deal announced Wednesday by Attorney General Letitia James, the broadcast giant is required to pay $22 million to shareholders and another $6 million for sexual harassment and assault programs. Moonves will have to pay $2.5 million, all of which will benefit stockholders who the attorney general said were initially kept in the dark about the allegations.At least one of those executives – one of the few privy to an internal investigation – sold millions in dollars of stock before the allegations against Moonves became public, which the attorney general’s office said amounted to insider trading.’As a publicly traded company, CBS failed its most basic duty to be honest and transparent with the public and investors. After trying to bury the truth to protect their fortunes, today CBS and Leslie Moonves are paying millions of dollars for their wrongdoing,” James said in a statement, calling attempts to mislead investors ‘reprehensible.’A spokesperson for Paramount Global, which owns CBS, said it was ‘pleased to resolve this matter … without any admission of liability or wrongdoing,” adding that the ‘matter involved alleged misconduct by CBS’s former CEO, who was terminated for cause in 2018, and does not relate in any way to the current company.’Moonves resigned from CBS on Sept. 9, 2018. In a document outlining the findings of its investigation, the attorney general’s office detailed an alleged scheme by a Los Angeles police captain to try to cover up the allegations against Moonves.The police captain, who was not named in the report, tipped off CBS that a woman had lodged a complaint against Moonves, according to the document.It said the captain then met personally with Moonves and another CBS executive and fed them confidential information about the investigation. The captain, it said, instructed the police officers investigating the complaint to ‘admonish’ the woman not to go to the media with her allegations, according to the attorney general’s office. He also put them in touch with the lead investigating officer.When the allegations ultimately became public anyway and Moonves resigned, the captain sent a note to a CBS contact saying, ‘We worked so hard to try to avoid this day.’The document also said he wrote a separate note to Moonves saying, ‘I’m deeply sorry that this has happened. I will always stand with, by and pledge my allegianceThe attorney general’s office said it uncovered text messages between the police captain, CBS executives and Moonves that showed efforts to prevent the complaint from becoming public.The captain, a commanding officer in the police department’s Hollywood division, first made CBS officials aware of the sexual misconduct allegation by calling the network’s senior vice president of talent relations and special events, who was identified by the court document as Ian Metrose.Metrose had previously hired the captain as one of Moonves’ security aides at the Grammy Awards from 2008 to 2014, the document states.’I know we haven’t talked in a while. I am a captain at LAPD Hollywood,” the police captain told Metrose in a voicemail message, according to the attorney general’s office. ‘Somebody walked in the station about a couple hours ago and made allegations against your boss regarding a sexual assault. It’s confidential, as you know, but call me, and I can give you some of the details and let you know what the allegation is before it goes to the media or gets out.’Los Angeles Police said Wednesday it was conducting an investigation into the conduct of the now-retired captain and was cooperating with New York officials.’What is most appalling is the alleged breach of trust of a victim of sexual assault, who is among the most vulnerable, by a member of the LAPD. This erodes the public trust and is not reflective of our values as an organization,” Chief Michel Moore said.Moonves’ resignation came amid complaints from multiple women about alleged sexual misconduct. Some accusers claimed that Moonves had forced them to perform oral sex. The New Yorker had reported at the time that at least one of the women, a television executive, had filed a criminal complaint with Los Angeles police.Moonves acknowledged having relations with three of the women, but said they were consensual. He denied attacking anyone, saying in a statement at the time that ‘Untrue allegations from decades ago are now being made against me.’The Los Angeles County district attorney declined to file criminal charges against Moonves in 2018.CBS is also required under the deal with the attorney general’s office to reform its human resources practices around sexual harassment.The NY attorney general’s office identified CBS’s senior executive vice president and chief communication officer, Gil Schwartz, as the executive who sold nearly $8.9 million dollars in stocks. Schwartz has since died.__________Associated Press writer Stefanie Dazio contributed to report from Los Angeles.