Wells Fargo Bank struck out in an attempt to avoid liability in a pending federal mortgage fraud suit, failing to convince an appeals court that a prior settlement with the feds got the bank off the hook.

The U.S. Court of Appeals for the D.C. Circuit on Tuesday rebuffed the bank’s request to bar all claims against it in a suit brought by the U.S. Attorney’s Office for the Southern District of New York in October 2012. The complaint is based on the bank’s origination and underwriting of thousands of federally insured mortgages.