Man sentenced for 'violent social media posts' about Obama
© Getty Images

An Oregon man who pleaded guilty to writing threats online to kill former President Barack ObamaBarack Hussein ObamaFormer Teacher of the Year wins Connecticut primary What happened to the Tea Party? Democrats should fully embrace their union roots MORE was sentenced on Friday to serve in federal prison, Oregon Live reported.

"Threats of violence directed at public officials and law enforcement are a serious matter,'' the U.S. attorney for Oregon, Billy J. Williams, said, according to the Oregonian. "Violent social media posts are every bit as serious as those made in other venues.'' 

Sixty-two year old John Martin Roos was sentenced to five years and three months in prison by U.S. District Judge Michael J. McShane.

Roos admitted to making online threats against Obama, the former first lady, and the Obama daughters. Prosecutors said Roos also threatened to shoot FBI agents.

The FBI arrested Roos in 2016 after investigating him regarding threatening social media posts. An FBI agent discovered a loaded gun upon arresting Roos, who also had weapons, pipe bombs, and ammunition storied in his apartment.