A state prison inmate was sentenced Wednesday to two additional years in prison for sending a letter threatening to behead the Fond du Lac County district attorney.

James H. Luke, 29, wrote to District Attorney Eric Toney from the Waupun Correctional Institution in March 2016, saying in part: “I am going to personally decapitate you and mail your head in a box to the local news,” according to a news release from Dodge County District Attorney Kurt Klomberg, who prosecuted the case.

The threat was made in retaliation for Toney’s prosecution of an unrelated homicide case. Luke also claimed to be acting on behalf of the terrorist group ISIS, although no connection between Luke and ISIS is believed to exist. On Wednesday, Luke pleaded no contest to making the threat to Toney.

Dodge County Circuit Judge Brian Pfitzinger also ordered that Luke spend two years on extended supervision. According to court and Department of Corrections records, Luke had been expected to remain in prison for a variety of crimes, including mounting convictions for battery to prisoners, until 2036, but his release now wouldn’t take place until 2038.

Luke has since been transferred to the Columbia Correctional Institution in Portage, according to DOC records.

Ed Treleven is the courts reporter for the Wisconsin State Journal.