President Donald Trump might be able to pardon everyone he wants — possibly even himself. But that would not end his legal troubles.

Trump already fired FBI Director James B. Comey amid an investigation into allegations of collusion between his campaign and Russia. He has attacked Attorney General Jeff Sessions, raising questions about whether he intends to try to remove Robert S. Mueller III, the special counsel appointed by the Justice Department to head the Russia probe.

The president and his lawyers have also reportedly discussed whether he could pardon family members and aides caught up in the Russia investigation.

But Trump has no control over state and local-level probes looking into the financial interests of his businesses, his family and his aides. And he can’t fire state and local prosecutors or issue pardons for state crimes.

The state investigations have been developing for months, largely overshadowed by probes by Congress, the FBI and the Justice Department. If state and local prosecutors lose confidence in their federal counterparts, they could become more aggressive, legal experts say.