A Louisiana man has been sentenced to three years and 10 months in federal prison for making threats against President Donald Trump.

The U.S. attorney's office in Baton Rouge says 63-year-old Henry Rayborn, of Baton Rouge, was sentenced Wednesday.

A federal complaint filed in March 2018 says Rayborn made threats against the president while hospitalized in Baton Rouge. Rayborn had been taken there after police found him lying down in a public street.

Court records say Rayborn told an investigating U.S. Secret Service agent that he "heard voices in his head saying kill Trump." Rayborn was later found mentally competent to face the charges. He pleaded guilty in October to making a threat against the president.

After serving his prison sentence he will serve three years of supervised release.