The American, having mental problems, threatened to "destroy" the US and Russian presidents, Donald Trump and Vladimir Putin, and kill the children of American officials, AP reported.
Deryke Matthew Pfeifer posted a video on Facebook and he scolded a federal judge with guns in his hands and threatened to kill anyone who tried to arrest him, prosecutors said.
Pfeifer was charged with illegal possession of ammunition, and he was ordered to undergo a mental health examination.
In a Facebook video recorded in a hotel room in southern Alabama, Pfeifer names the secret service and office of the US Attorney and promises to kill their children.
A loaded Ruger LCP .380 handgun was found in his vehicle, and three types of ammunition were found in the hotel room, a federal agent wrote in court documents.
Pfeiffer underwent a psychiatric examination in 2014 after the U.S. Secret Service accused him of threatening to kill then-President Barack Obama and blow up a federal building in Jackson, Michigan. He was diagnosed with paranoid personality disorder.