President Trump commuted the 14-year prison sentence of former Illinois Gov. Rod Blagojevich.

"Yes, we commuted the sentence of Rod Blagojevich. He served eight years in jail, a long time. He seems like a very nice person, don’t know him," Trump told reporters on Tuesday.

A statement released by the White House revealed that Trump also pardoned former New York City Police Department Commissioner Bernie Kerik and financier Michael Milken. Kerik spent four years in prison from 2010 to 2013 after being found guilty of tax fraud and lying to government officials. Milken spent two years in prison from 1991 to 1993 and was fined $600 million on securities fraud charges.

Earlier in the day, it was announced that Trump granted a pardon to Edward DeBartolo Jr., the former owner of the San Francisco 49ers.

Blagojevich has served roughly eight years in prison after being convicted on corruption charges. He is expected to be set free from the Englewood Federal Correctional Institution in Colorado on Tuesday.

For months, the president signaled he might commute the former Democratic governor’s prison sentence. Trump said in August that he was "strongly" considering the move and that Blagojevich’s case was being reviewed.

The president appeared to back away from the idea about a week later after hearing strong opposition from a group of Illinois Republican legislators.

"It's important that we take a strong stand against pay-to-play politics, especially in Illinois, where four of our last eight governors have gone to federal prison for public corruption," Illinois Reps. Darin LaHood, John Shimkus, Adam Kinzinger, Rodney Davis, and Mike Bost said in a joint statement.

LaHood and Bost made the lawmakers' case to Trump over the phone, and Trump appeared to be receptive to their argument, telling them, "I wish I had the perspective before."

Trump has long thought that Blagojevich's sentence was too harsh. In 2012, Trump called Blagojevich's sentence "outrageous."

Blagojevich, 63, was convicted on corruption charges in 2011 for attempting to extort campaign donations from a children’s hospital and for attempting to sell former President Barack Obama’s U.S. Senate seat. Blagojevich called Obama's vacated Senate seat "f---ing golden" on a phone call recorded by the FBI.

His wife, Patricia Blagojevich, lobbied for her husband’s early release and made appearances on Fox News in 2018 to make her case in the hope that the president was watching. Patricia Blagojevich began her media circuit after the former governor lost his last appeal to the Supreme Court.

Trump and the former governor know each other from Trump’s NBC reality television show The Celebrity Apprentice. Rod Blagojevich appeared on the ninth season of the show in 2010. Trump fired him from the show but said the former governor had "a hell of a lot of guts" for the fight he was then putting up in court against the corruption charges.

Four of the last 10 governors of Illinois have been sentenced to prison for corruption. Rod Blagojevich's 14-year sentence was the longest ever issued to an Illinois politician.

[Opinion: Rod Blagojevich represents the corruption Trump was supposed to fight]