(Reuters) - Since President Donald Trump’s appointment of Matthew Whitaker as acting U.S. attorney general last week, questions regarding the legitimacy of Whitaker’s authority have escalated.

FILE PHOTO: Acting U.S. Attorney General Matthew Whitaker (C), U.S. Secretary of Homeland Security Kirstjen Nielsen (L) and House Minority Leader Nancy Pelosi (D-CA) sit during ceremonies on Veteran's Day at Arlington National Cemetery in Arlington, Virginia, Nov. 11, 2018. REUTERS/Joshua Roberts/File Photo

On Tuesday, the state of Maryland went to court, telling a federal judge that Trump had overstepped his constitutional authority by selecting Whitaker, and on Monday the city of San Francisco, which is also involved in litigation against the Trump administration, told the Justice Department it may sue to challenge Whitaker’s appointment.

Trump appointed Whitaker on Nov. 7 after ousting Jeff Sessions. Trump had repeatedly criticized Sessions for recusing himself from overseeing Special Counsel Robert Mueller’s probe into possible collusion in the 2016 U.S. election between the Trump campaign and Russia. Trump has repeatedly called the investigation a “witch hunt.”

With Sessions gone, Whitaker will directly oversee the Mueller probe. Some Democrats in Congress have expressed concern that the acting attorney general, who has been openly critical of Mueller’s authority, could undermine or even fire the special counsel.

The Justice Department said on Monday that Whitaker would consult with the agency’s ethics lawyers “on his oversight responsibilities and matters that may warrant recusal.”

The following explains the legal questions swirling around Whitaker’s appointment.

What is the legal authority for Whitaker’s appointment?

Trump appointed Whitaker under the Federal Vacancies Reform Act of 1998 (FVRA), a law allowing him to elevate a senior official to agency head for up to 210 days.

The law was intended to address vacancies created by deaths or resignations, but it is unclear whether it applies to those created by firings.

There is some question as to whether Sessions was fired or resigned. The former attorney general submitted a letter of resignation at the president’s “request.”

Some legal experts say that if Sessions was effectively fired, his appointment runs afoul of that law and could be challenged in court.

Could Whitaker’s appointment also be unconstitutional?

Possibly.

Under the Appointments Clause of the U.S. Constitution, ambassadors, federal judges, and other “Officers of the United States” who are nominated by the president must be confirmed by the U.S. Senate under the body’s so-called advise and consent powers.

In 1988, the U.S. Supreme Court made clear that the position of Attorney General is the sort of high-ranking officer that requires Senate approval. Legal experts disagree about whether the Appointments Clause applies to Whitaker in his role as an acting attorney general serving on an interim basis.

Some experts say that it does, and that Whitaker’s appointment under the FVRA was an attempt by Trump to bypass the text of the Constitution.

The argument was raised in a New York Times Nov. 8 op-ed by Democratic lawyer Neal Katyal and George Conway, a conservative and husband of Trump advisor Kellyanne Conway.

“For the president to install Mr. Whitaker as our chief law enforcement officer is to betray the entire structure of our charter document,” Katyal and Conway wrote in the op-ed.

Not all constitutional law scholars agree.

Steve Vladeck, a professor of constitutional law at the University of Texas, said he thought Whitaker was a poor choice for the job but that his hiring was constitutional.

Vladeck said there are Supreme Court decisions which support the argument that Whitaker is on a temporary assignment, not an “appointment” for purposes of the Constitution.

Who has legal standing to challenge Whitaker’s authority?

Any individual adversely affected by a direct action taken by Whitaker would have legal standing to bring a lawsuit challenging the legitimacy of his appointment, Vladeck said.

“I think it’s quite possible there could be a lot of challenges to his appointment,” Vladeck said.

Individuals and state governments with pending lawsuits against the Justice Department may also be able to challenge Whitaker’s authority.

The agency is in the process of adding Whitaker as a party to those pending lawsuits and removing Sessions.

That process is typically not controversial, but on Tuesday the Maryland Attorney General asked a judge to block it from taking place in a dispute relating to the Affordable Care Act’s protection of people with preexisting medical conditions.

If Whitaker’s appointment is legal, are there limits to his power?

Federal regulations state that government employees should not participate in matters where one could reasonably question their impartiality.

There is also a bar on officials participating in investigations or prosecutions that substantially involve someone they have had a personal or political relationship with.

Whitaker has criticized the Mueller probe on multiple occasions, writing in an opinion piece for CNN that it was “going too far” and that Trump’s personal finances should be considered off-limits.

Whitaker also has a close friendship with Sam Clovis, who was co-chair of Trump’s 2016 presidential campaign and has testified before the grand jury in the Mueller investigation.

Some legal experts say that Whitaker’s prior statements about the probe and his relationship with Clovis require him to recuse himself from overseeing the investigation.

Paul Rosenzweig, a former counsel to independent counsel Ken Starr, said he did not think Whitaker had to recuse himself.

Unlike judges, Justice Department officials are political actors who are allowed to express viewpoints, Rosenzweig said.