President Barack Obama commuted the sentence of a man who accidentally got an additional 3.5 years added to his prison sentence because of a typographical error.

Ceasar Huerta Cantu was sentenced to 180 months in prison after pleading guilty to conspiracy to possess with intent to distribute marijuana and money laundering back in 2006, reports CBS News.

The error was that his plea agreement called for his offense level to be a 34, but a 36 was typed in, which essentially made his crime more serious.

According to The New York Times, the error was discovered too late and no judicial power had the ability to correct the mistake. Cantu's only hope was to receive presidential clemency. He sentence was commuted to 138 months in prison.

A White House official said, "Today's sentence commutation by the president simply corrects that mistake."

Obama, when compared to recent presidents, has rarely granted clemency, doing so only 61 times, with 21 of those people coming this past December. During George W. Bush's two terms, he commuted 200 cases, while Bill Clinton opted for clemency in 459 cases and George H.W. Bush granted clemency for 77 cases.