Trevor Milton, the founder of electric vehicle start-up Nikola who was sentenced to prison last year for fraud, was pardoned by President Donald Trump, the White House confirmed Friday.

The pardon of Milton, who was sentenced to four years in prison for exaggerating the potential of his technology, could wipe out hundreds of millions of dollars in restitution that prosecutors were seeking for defrauded investors.

Milton, 42, and his wife donated more than $1.8 million to a Trump re-election campaign fund less than a month before the November election, according to the Federal Election Commission.

At Milton’s trial, prosecutors say a company video of a prototype truck appearing to be driven down a desert highway was actually a video of a nonfunctioning Nikola that had been rolled down a hill.

Milton had not been incarcerated pending an appeal.

Milton said late Thursday on social media that he had been pardoned by Trump.

“I am incredibly grateful to President Trump for his courage in standing up for what is right and for granting me this sacred pardon of innocence,” Milton said.

The White House confirmed the pardon Friday, though there was no notice of a pardon on the White House website.

When asked by a reporter in a news conference Friday why he pardoned Milton, Trump said it was “highly recommended by many people.”