A New York jury found Donald Trump guilty of multiple felonies at his hush-money trial, making him the first former U.S. president to be convicted of crimes.

Trump was found guilty Thursday on all 34 counts of falsifying business records to conceal a hush-money payment to adult-film actress Stormy Daniels just before the 2016 election. Prosecutors said Trump led a broader scheme to influence the election by concealing stories of his alleged sexual encounters with women.

The sentencing has been set for July 11, just days before the Republican National Convention where Trump is set to be nominated for the presidential race.