Signage is displayed inside the Consumer Financial Protection Bureau (CFPB) headquarters in Washington, D.C., U.S., on Monday, March 4, 2019.

The Supreme Court on Friday announced that it will hear a case challenging the constitutionality of the Consumer Financial Protection Bureau, a regulatory agency established in the wake of the 2008 financial crisis.

The case was brought by Seila Law, a California-based law firm, which alleges that the structure of the agency grants too much power to its director, in violation of the Constitution's separation of powers.

Unlike the heads of many other federal agencies, the director of the CFPB may only be removed by the president "for inefficiency, neglect of duty, or malfeasance in office." Given the CFPB's broad law enforcement powers, that independence is unconstitutional, Seila Law has argued in court papers.

In an order posted Friday, the justices asked both sides to address whether the bureau can remain even if its structure is found to be unconstitutional.

A decision in the case is likely by the end of June, meaning that the fate of the regulator will be announced in the middle of the 2020 presidential campaign. That could be particularly significant for Sen. Elizabeth Warren, a consumer advocate whose role in creating the agency has formed a central pillar of her presidential bid.

It is possible that a ruling against the CFPB would maintain the agency but only on the condition that its director, who serves a five-year term, can be removed at the pleasure of the president. If Trump loses his reelection bid in 2020, that would mean that a Democrat will be able to replace Trump's current appointee, CFPB director Kathy Kraninger, when they take office.

Read more: The head of the CFPB now believes that the financial regulator is unconstitutionally structured

To date, the CFPB has survived multiple court challenges.

The federal appeals court in Washington upheld the agency last year on the basis that the Supreme Court, more than 80 years ago, signed off on the Federal Trade Commission, a similarly structured regulator, in the 1935 case Humphrey's Executor. In May, the CFPB defeated Seila Law before a panel of the 9th U.S. Circuit Court of Appeals.

"Seila Law contends that an agency with the CFPB's broad law-enforcement powers may not be headed by a single Director removable by the President only for cause. That argument is not without force," Circuit Judge Paul Watford wrote for the court.

But, he said, given Humphrey's Executor and a later case which reaffirmed the ruling, the CFPB is constitutional.

"The Supreme Court is of course free to revisit those precedents, but we are not," he wrote.

Under President Donald Trump, the CFPB has already dramatically pared back its role as a financial watchdog. A report published by the Consumer Federation of America earlier this year found that the agency had dropped enforcement activity 80% compared with its peak in 2015. Average monetary relief, the report found, was down 96%.

Given the makeup of the Supreme Court, it's likely that the agency's structure could be struck down.

Justice Brett Kavanaugh, whose confirmation last year delivered conservatives a reliable majority, made clear in a dissent from the Washington appeals court decision upholding the bureau that he believes the structure of the CFPB is impermissible.

"Indeed, other than the President, the Director of the CFPB is the single most powerful official in the entire U.S. Government, at least when measured in terms of unilateral power," Kavanaugh wrote at the time. "That is not an overstatement."

Notably, Kavanaugh did write in that dissent that he believed the director's independence could be limited while leaving the rest of the bureau intact, "so that the Director of the CFPB is supervised, directed, and removable at will by the President."

The case is Seila Law v. Consumer Financial Protection Bureau, No. 19-7.