Former prosecutor Bruce Castor Jr.’s lawsuit against one of Bill Cosby’s accusers has been dismissed in Philadelphia court.

In two orders signed Tuesday, Philadelphia Court of Common Pleas Judge Ann Butchart sustained preliminary objections brought by Andrea Constand and by her lawyers, Bebe Kivitz and Dolores Troiani. All three were defendants to Castor’s lawsuit, in which he alleged that Constand sued him in 2015 in order to destroy his political career.