President Trump on Wednesday granted full pardon to former media mogul Conrad Black who wrote a book on Trump. (Mark Blinch/Reuters)

President Trump gave a full pardon to a longtime friend who last year wrote a glowing book about Trump’s successes.

Conrad Black was convicted in 2007 on fraud charges, including alleged embezzlement, and obstruction of justice. He served more than three years in prison and was deported to his native Canada after he was released in 2012. He was barred from returning to the United States for 30 years.

The White House said in a statement that Black was “entirely deserving” of the pardon. In listing Black’s accomplishments, it mentions biographies Black wrote about presidents Franklin D. Roosevelt and Richard Nixon, but not his tome on Trump.

On the first page of that book, “Donald J. Trump: A President Like No Other,” Black writes: “Like the country he represents, Donald Trump possesses the optimism to persevere and succeed, the confidence to affront tradition and convention, a genius for spectacle, and a firm belief in common sense and the common man.”

Black, whose media company owned the Chicago Sun Times, at one time partnered with Trump to build Trump Tower in Chicago, but Trump later bought him out.

Black denied at the end of last year that he was trying to get a pardon from Trump.

“You are correct that no pardon has been applied for, and I have no comment on the subject,” Black told a Canadian news outlet. “The public speculation about it that I have seen is bunk.”

In its statement, the White House offered a list of household names who have vouched for Black’s character, including Henry Kissinger, Elton John and Rush Limbaugh.

In addition to his book, Black frequently writes columns praising Trump and considers the president a friend.

Trump was quoted in a 2004 Vanity Fair article about Black’s legal troubles, predicting Black would bounce back.

“In 1990 or 1991, when I owed billions of dollars, some people shied away from me,” Trump said. “And now everyone is kissing my a-- and begging me to sit at their right-hand side at the table. Conrad is a tremendously strong man who will overcome these obstacles in the end. He will prevail.”

Trump also fully pardoned Patrick Nolan, a former Republican state legislative leader who pleaded guilty to public corruption charges in 1994 and served nearly three years in prison.