A federal judge on Tuesday rejected a lawsuit from an official who claims that she, and not President Trump appointee Mick Mulvaney Mick MulvaneyMick Mulvaney to start hedge fund Fauci says positive White House task force reports don't always match what he hears on the ground Bottom line MORE, is the rightful director of the Consumer Financial Protection Bureau (CFPB).

Judge Timothy Kelly of the U.S. District Court of the District of Columbia refused to grant Leandra English a restraining order to bar Mulvaney from serving as the CFPB’s acting director.

The ruling from Kelly, a Trump appointee, clears the way for Mulvaney to run the CFPB until a permanent director is sworn in or English successfully appeals the decision.

ADVERTISEMENT

Trump last week appointed Mulvaney to temporarily lead the CFPB until the lawmakers confirm his pick to replace Richard Cordray Richard Adams CordrayConsumer bureau revokes payday lending restrictions Supreme Court ruling could unleash new legal challenges to consumer bureau Supreme Court rules consumer bureau director can be fired at will MORE, who resigned as the agency's director on Friday.

The president was able to appoint Mulvaney to the role because he was already confirmed by the Senate for another position — director of the Office of Management and Budget.

The legal dispute arose because Cordray, in one of his final acts at the agency, promoted English, his former chief of staff, to the role of deputy director.

Under the agency's line of succession, that would make English acting director upon Cordray's resignation.

But the White House said the president has clear authority to name an acting director to the agency and quickly announced that Mulvaney would assume the role.