A former Philadelphia district attorney who refused to prosecute Bill Cosby now plans to sue one of the comedian’s alleged sex-assault victims, according to a report.

The ex-DA, Bruce L. Castor Jr., claims Andrea Constand tried to derail his career when she sued him for defamation in 2015 during his re-election bid for district attorney, the Philadelphia Inquirer reported.

Castor lost the race to Kevin Steele. As DA, Steele oversaw a criminal trial against Cosby earlier this year that ended in a hung jury.

Constand “was trying to gain a tactical advantage with the election in order to get Kevin Steele put in so that she could get Cosby prosecuted,” Castor’s lawyer, James Beasley Jr., told the Inquirer.