BANGOR — A Maine man, who threatened to kill President Barack Obama, was sentenced Thursday to serve nearly three years in prison.

Leroy Eugene Dunn, 30, appeared in U.S. District Court in Bangor before Chief Judge John A. Woodcock Jr.

Woodcock sentenced Dunn to serve 33 months in prison, followed by three years of supervised release.

United States Attorney Thomas E. Delahanty II said that Dunn, who is 7’6 inches tall, pled guilty to the threatening charge on April 25, 2012.

Dunn’s mother in previous interviews has said that her son is mentally disabled and suffers from the effects of Marfan syndrome – a disorder that can result in disproportionately long arms and legs.

Philomena Gordon of Bingham said her son weighs more than 300 pounds and should be under supervised medical and psychiatric care.

According to court records, Dunn wrote a letter to President Obama in April 2011 that said, “I hate you and will do anything I can to get rid of you … you will die at my hands … I will kill you Barack Obama.”

At the time Dunn wrote the letter, he was incarcerated at the Piscataquis County Jail in Dover-Foxcroft on drug trafficking charges. Dunn asked a corrections officer to mail the letter for him. The officer obtained Dunn’s permission to open the envelope, which contained a two-page letter outlining his threats.

Dunn was also sentenced to serve 60 days in jail last year for threatening Gov. Paul LePage.

“The sentence is appropriate for a very serious crime. Public officials must be able to carry out their duties without being exposed to threats against their life,” Delahanty said in a prepared statement.