For 22 months, Donald Trump’s presidency has been haunted largely by one legal foe, a Washington prosecutor with seemingly unlimited power but who was also a single target for Trump to portray as the leader of an unfair “witch hunt.”

Yet even as one legal cloud lifts with the conclusion of special counsel Robert S. Mueller III’s investigation, others loom large on the horizon — creating additional threats to the president’s standing as he seeks to shift attention toward his 2020 reelection campaign.

Nearly every organization Trump has run over the past decade remains under investigation by state or federal authorities, and he is mired in a variety of civil litigation, with the center of gravity shifting from Mueller’s offices in Southwest Washington to Capitol Hill and state and federal courtrooms in New York, the president’s hometown and the headquarters of his company.

Federal prosecutors in New York have been investigating hush money paid before the 2016 election to two women who said they had affairs with Trump. Prosecutors in that office are also probing Trump’s inaugural committee, which raised and spent record amounts of money.

The president’s personal conduct will also be under the microscope in the coming months, when he is scheduled to sit for a deposition in a lawsuit filed in New York state by a former contestant on his reality television show who alleges Trump groped her in 2007 and then lied about it during the election.

Authorities in New York, Washington, D.C., and New Jersey are investigating a variety of issues related to Trump’s private business and charity.

Congressional Democrats have already issued dozens of requests for information about various topics related to Mueller’s investigation, the operations of Trump’s White House and Trump’s private business, and they have signaled they will press forward with those matters — even as House Speaker Nancy Pelosi (D-Calif.) has said she does not favor impeachment. Their focus will probably be guided at least in part by Mueller’s findings, which were not yet known on Saturday.

“It’s the end of the beginning, but it’s not the beginning of the end,” Sen. Christopher A. Coons (D-Del.), who sits on the Senate Judiciary Committee, told reporters Saturday. “It’s important to remember that whatever is concluded by Robert Mueller doesn’t mean that the president and his core team are free of legal jeopardy.”

Trump’s lawyer Rudolph W. Giuliani said Saturday that he is not worried about the litany of ongoing legal issues.

“The president didn’t do anything wrong, and he will be vindicated on those issues, just as he has been vindicated after months of his critics talking about collusion,” Giuliani said. “They’ll be wrong again, and they have a compulsive desire to go after the president. It’s sad.”

Trump told Fox Business Network’s Maria Bartiromo on Friday that he and his lawyers were in the dark about any investigation other than Mueller’s. “They say there are lots of things, but I don’t know about these things, okay, just so you understand,” he said.

Nonetheless, Trump, his company and his administration face challenges from the remaining investigations and lawsuits, particularly as the Democrats angling to run against him next year seek to portray the president as self-interested and corrupt.

In New York, federal prosecutors have been active on two investigations that could cause problems for Trump, his family and other close associates.

Trump’s former personal attorney Michael Cohen pleaded guilty in August to breaking campaign finance law by arranging pre-election payments to two women who said they had extramarital affairs with Trump. Cohen told a federal judge his actions were intended to silence the women to help Trump win the election. Cohen said he had been directed by Trump, who was referred to in court documents drawn up by federal prosecutors in Manhattan as “Individual-1.”

The status of the investigation is not clear. Cohen in May will begin serving a three-year prison term for his involvement in the scheme, as well as various financial crimes and for lying to Congress about efforts to build a Trump Tower in Moscow. When Cohen was sentenced, prosecutors announced they had reached a settlement with American Media Inc., the company that publishes the National Enquirer, for its role in paying off one of the two women — a possible sign the investigation into the payments had been concluded.

Cohen told Congress in public testimony recently that he was aware of potentially illegal behavior by Trump that he could not discuss because he believed it remained the subject of ongoing investigation by New York prosecutors.

A spokesman for the U.S. attorney’s office in Manhattan said department policy is not to confirm or comment on the existence of investigations.

Meanwhile, federal prosecutors in Manhattan in February also issued a wide-ranging subpoena to the presidential inaugural committee, the entity that organized Trump’s $107 million festivities when he took office in January 2017. The request sought documents covering nearly every aspect of the committee’s activities.

In addition, the committee has also received subpoenas from attorneys general offices in New Jersey and the District, which are each investigating whether the not-for-profit committee’s spending fulfilled its charitable aims.

Federal prosecutors are also scheduled to try one of Trump’s oldest friends and confidantes, Roger Stone, in Washington in November. Stone has been charged with lying to Congress about his efforts to find out what material WikiLeaks held before the 2016 election. The anti-secrecy site upended the campaign by publishing emails from the Democratic Party and Hillary Clinton campaign chairman John Podesta that prosecutors have said were stolen by Russian operatives.

Stone was charged jointly by Mueller’s office and prosecutors in Washington. With the end of Mueller’s probe, it appears likely the case will be taken over entirely by the U.S. Attorney’s Office for the District of Columbia.

Stone has pleaded not guilty. While Trump is not implicated in the case, the trial will showcase evidence of the Trump campaign’s inner workings.

Trump and his company are also facing a battery of investigations from state authorities in New York.

New York Attorney General Letitia James (D) is suing Trump in state court because of what the state called “persistently illegal conduct” at Trump’s 30-year-old charity, the Donald J. Trump Foundation. The suit says that Trump used the charity’s money to buy paintings of himself, to pay off legal settlements for his for-profit businesses and to give his own presidential campaign a boost during the 2016 Republican primaries.

Trump and his children Ivanka, Don Jr. and Eric have also been sued; they were all technically members of a charity board that hadn’t met since 1999, the attorney general’s office says. Trump has agreed to shutter the foundation, but the case is still pending.

In addition, Trump’s company appears to be the focus of two new state inquiries that followed the congressional testimony by Cohen. Cohen told a House committee in February that Trump had submitted inflated summaries of his assets to both insurers and would-be lenders, seeking to mislead them about the state of his net worth.

After that, state authorities sent subpoenas to Deutsche Bank and another bank that loaned money to Trump, and to Aon, Trump’s longtime insurance broker.

State investigators in both New York and New Jersey have spoken to an attorney for undocumented immigrants who worked for years at Trump’s golf clubs, according to the attorney. In January, the company fired at least 18 workers — many of them longtime employees — after an audit found that their immigration documents were fraudulent. Neither the New York nor the New Jersey attorney general has commented, nor have they confirmed that they had opened investigations.

Trump is also facing two federal lawsuits alleging that he has violated the Constitution because his private company continues to do business with foreign governments.

Trump’s D.C. hotel, down the street from the White House, has already hosted parties put on by the Kuwaiti, Azerbaijani and Philippine embassies, and it rented more than 500 rooms to lobbyists for the Saudi government starting just after the 2016 election. Trump’s hotel in Chicago has also hosted a national day celebration by the Romanian consulate. The Trump Organization has said it made $191,000 in profit from foreign governments last year and donated that amount to the U.S. Treasury. It has not specified who its foreign customers are and how much they paid in total.

The Constitution prohibits presidents from taking “emoluments” from foreign states or the governments of individual U.S. states.

One of the lawsuits was filed by the attorneys general of Maryland and the District of Columbia. A lower-court judge said the attorneys general could ask the Trump International Hotel in Washington for information on its foreign clients, but that “discovery” process has been halted while a higher court considers Trump’s appeal.

Trump has argued that the framers of the Constitution intended only to bar outright bribes and not business transactions conducted at market rates.

Another lawsuit, filed by congressional Democrats, is also proceeding but is at an earlier stage of the legal process. If either succeeds, the plaintiffs could bring to light the Trump Organization’s list of foreign-government customers.

One of Trump’s most pressing legal perils comes from a lawsuit filed in New York by Summer Zervos, a former “Apprentice” contestant.

A New York appellate court earlier this month denied a request by Trump to dismiss the suit, allowing it to move forward.

His lawyers have said they plan to appeal, but if the ruling stands, it means Trump would probably have to sit for a deposition in the matter in coming months. He would face questions about Zervos’s allegations — she has said that Trump groped her and kissed her without consent during a 2007 encounter in a Los Angeles hotel room that she had believed was supposed to be a business meeting.

Her lawyers would probably seek to ask the president questions about his treatment of other women.

Trump could face serious consequences if he were to lie in the deposition. After all, the impeachment of President Bill Clinton began after he was accused of lying in a deposition in a civil sexual harassment suit filed by Paula Jones.

Karoun Demirjian, Rachael Bade, Devlin Barrett and Robert Costa contributed to this report.