WINDHAM — An inmate at the Maine Correctional Center has been indicted for allegedly threatening to kill President Barack Obama.

Leroy Eugene Dunn, 30, is accused of making the threat in April through a handwritten letter addressed to the president. The charge of threats against the president carries a maximum penalty of five years imprisonment and a fine of $250,000.

According to an indictment filed in federal court, Dunn wrote, “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.”

Stephen Smith, Dunn’s lawyer, said he believes the charge is a result of “some unfortunate medication changes.”

“It is our belief that Mr. Dunn should not be prosecuted,” he said.

Dunn, who is currently serving a three-year sentence for drug trafficking, had faced a charge for making threats to Gov. Paul LePage last year. He pleaded guilty to terrorizing in February.