A man from Oregon, US, who threatened to kill former President, Barack Obama and his family over social media has been sentenced to five years in a U.S. federal prison.
U.S. District Court Judge, Michael McShane sentenced 62-year-old John Roos of Medford to 63 months in prison.
He also got a three-year post-prison supervision upon his release.
A U.S. Department of Justice news release said that Roos pleaded guilty to charges related to the threats and other charges for possession of an unregistered explosive device.
Roos explained in court that he threatened to kill Obama and the former first family on Twitter.
The Justice Department also said Roos has also posted on Facebook threats to kill FBI agents with hunting rifles.
However, Roos has said the threats were not serious.