The Dakota County attorney's office plans to appeal the sentence of a South St. Paul man who pleaded guilty to making threats against local police officers on social media.

Harrison William Rund, 21, was sentenced Wednesday to four months in jail. Rund had pleaded guilty in Dakota County District Court in November to one count of threat of violence for threatening to kill St. Paul police officers and a state trooper on Twitter after he was issued a speeding ticket in 2014.

Judge Timothy McManus also gave Rund three years' probation and a $300 fine, according to the Dakota County attorney's office.

"We are pleased to have brought Mr. Rund to justice for making these serious threats to law enforcement," Dakota County Attorney James Backstrom said in a news release.

Hours later, Backstrom said he would appeal the sentence — a process that could take up to six months. He cited "a strong objection" to the judge sentencing Rund "to a gross misdemeanor rather than the felony these types of threats of violence are classified as under Minnesota law."

"This appeal is not about the jail time he received," Backstrom wrote in an e-mail. "These were threats to kill St. Paul police officers and a state trooper. This sentence is simply not appropriate, especially in the dangerous world police officers operate in today."

According to the criminal complaint, Rund was stopped by a State Patrol trooper at 1:30 a.m. on Feb. 4, 2014, in St. Paul. He was upset that he was given a speeding ticket and began posting several tweets on Twitter.

In one tweet, Rund said that he was thinking about "hunt[ING] and kill[ING] cops." In another, he had a photo of St. Paul police officers being led by a training officer with the phrase, "Throw a grenade in the room, watch all you coppers ka-boom." according to the criminal complaint. One tweet read that he was going to "kill 5 police officers today."