Cozen O’Connor has agreed to a settlement with a group of investors who alleged the law firm was involved in a real estate investment scheme that cost the investors millions.

But the law firm is not entirely out of the case, in which commercial real estate company Cushman & Wakefield remains a defendant. Cozen O’Connor will be included on the verdict sheet at trial, and will have to produce its settlement agreement for the court, U.S. District Senior Judge Jan E. DuBois of the Eastern District of Pennsylvania ruled.