President Trump on Wednesday commuted the prison sentence of Sholom Rubashkin, a Brooklyn-born rabbi who was sentenced to 27 years on bank fraud charges in 2009.

Scores of politicians and law enforcement officials, including GOP Sen. Orrin Hatch, House Minority Leader Nancy Pelosi and former FBI Director Louis Freeh, had long lobbied for his release, saying he was the victim of an improper prosecution and tainted testimony.

“The President’s review of Mr. Rubashkin’s case and commutation decision were based on expressions of support from Members of Congress and a broad cross-section of the legal community,” the White House said in a statement.

“A bipartisan group of more than 100 former high-ranking and distinguished Department of Justice officials, prosecutors, judges, and legal scholars have expressed concerns about the evidentiary proceedings in Mr. Rubashkin’s case and the severity of his sentence.”

Rubashkin, 57 and a father of 10, had already served seven years for an offense that ordinarily merits no more than three years behind bars.

The trouble started when Rubashkin was vice president of Agriprocessors, a kosher meatpacking plant based in Postville, Iowa.

More than 500 federal immigration agents raided the plant and arrested hundreds of undocumented workers in may 2008.

The raid resulted in the company declaring bankruptcy, and Rubashkin was arrested a short time later and charged with bank fraud.

The White House stressed that Trump was not pardoning Rubashkin, who has appealed his conviction, but only commuting his long sentence.

The action was also supported by Democratic New York City Reps. Jerry Nadler, Carolyn Maloney, Yvette Clarke, Nydia Velasquez and upstate GOP Rep. Tom Reed.