Donald Trump’s legal woes are mounting just as the race for the 2024 U.S. presidential election heats up.

The former president, who’s campaigning for another term in the White House, potentially faces as many as six criminal and civil cases in the next year, including lawsuits against him, his family and companies. The four criminal indictments pose the greatest threat to the former president because they all carry potential prison terms.

Five of those trials have already been scheduled. The trials, some of which are expected to last for weeks, overlap with key primary election dates, raising questions about the obstacles and consequences Trump will have to face as he ramps up his 2024 campaign.