A former executive of Martin Shkreli’s Turing Pharmaceuticals says the convicted felon made her life a living hell because she wouldn’t pledge her loyalty to him after he was arrested for fraud.

In a Manhattan federal lawsuit filed Thursday, Turing’s former chief compliance officer and general counsel, Eve Costopoulos, says Shkreli ruined her professional reputation through a “campaign of harassment and character assassination” that ultimately led her to resign.

She claims the attacks were driven by Shkreli’s efforts to retain control of the company he founded after he stepped down as CEO in December 2015 due to his arrest for fraud.

Shkreli became an infamous household name in 2015 when it emerged that Turing had hiked the price of an AIDS drug by more than 5,000 percent.

Not long afterward, he was arrested by the New York FBI on allegations that he had been running a Ponzi scheme in a former hedge fund.

He was convicted last year and is serving seven years in a federal prison.

Costopoulos is suing Shkreli — who notoriously bought the sole copy of the Wu-Tang Clan album “Once Upon a Time in Shaolin” — for defamation and breach of contract and seeking damages in an amount to be determined by a jury at trial.

“After being forced to resign … Shkreli saw his influence at the company waning,” Costopoulos’ lawsuit said.

“As a result, he undertook a campaign of harassment and character assassination against plaintiff, both internally via email, as well as publicly on social media platforms such as Facebook” against those who were not loyal to him, the lawsuit claimed.

In February 2017, for example, Turing’s CEO, Ron Tiles, sent Costopoulos an email from Shkreli that accused her and Tiles of fraud.

“I’m also suing Ron Tilles and Eve Costopoulos for fraud – that complaint is being drafted as we speak – it is very juicy and hopefully will be filed later this month,” Shkreli wrote, according to the lawsuit.

Separately, Shkreli bashed Costopoulos and Tiles on Facebook.

“Now the company, under the leadership of Ron Tilles and Eve Costopoulos, is trying to perpetuate their highly paid salaries while shareholders are nearly unanimous that they have to go,” the Facebook post read, according to the lawsuit.

“His anger and frustration that he was not able to control those at the top levels of what he still believed to be ‘his company,’ consumed him,” Costopoulos’ lawsuit said. “He became vengeful for the sake of being vengeful, publicly embarrassing himself and Turing.”

Costopoulos also claims she was also under attack internally by people who remained loyal to Shkreli.

That resulted in her being accused of having ordered the destruction of internal company documents and failing to properly investigate a sexual harassment claim, the lawsuit claimed.

In June 2017, she was placed on administrative leave, resulting in her resignation, the lawsuit said.

Shkreli’s lawyer, Ben Brafman, did not immediately return a request for comment. Turning, which is now Vyera Pharmaceuticals, also did not return a request for comment.