The decision is a win for Lisa Cook, the Federal Reserve governor whom President Trump sought to dismiss over allegations of mortgage fraud.

The ruling, which will almost certainly be appealed, is a blow to the Trump administration’s efforts to assert more control over the traditionally independent Federal Reserve.

Agency governor is legally challenging Trump after he sought to remove her, citing unconfirmed mortgage fraud allegations