President Donald Trump announced he is giving a "full pardon" to conservative filmmaker Dinesh D'Souza.

“Will be giving a Full Pardon to Dinesh D’Souza today. He was treated very unfairly by our government!” the president tweeted Thursday morning.

D'Souza pleaded guilty in 2014 to making an illegal campaign contribution to New York politician Wendy Long's 2012 Senate campaign, allegedly going over the contribution limit by directing other donors to give to her and repaying them. He was sentenced to five years of probation and eight months in a halfway house, and paid a $30,000 fine.

'Gowdy Doesn't Get It': Hannity Rips SC Rep for Defending FBI

Pirro Says DOJ Officials Should Be Impeached for Stonewalling Congress

Despite his guilty plea, D’Souza claimed for years that he was singled out for prosecution by the Obama Justice Department because of his vocal criticism of the 44th president.

White House Principal Deputy Press Secretary Raj Shah said on "Happening Now" that D'Souza has made restitution and accepted responsibility for his actions.

"But these are infractions and crimes that are rarely prosecuted. And many believe that he was the subject of some selective prosecution from the previous administration," Shah said. "Nonetheless, he's accepted responsibility and the president thinks it's appropriate that he receive a pardon."

Dershowitz Is 'Halfway Persuaded' the FBI Acted Properly With Trump Campaign Informant

Harf: Trump Moving Closer to 'Constitutional Crisis' With Meddling in Mueller Probe

Conway: 'Flailing' Democrats Attack Trump Because They Have No Message of Their Own