MIAMI, Florida (CNN) - A man was being held in Florida on Thursday on charges he told classmates at a training seminar that he would kill Democratic presidential candidate Barack Obama if he is elected, according to a law enforcement official and court documents.
The threats came just days before Obama was scheduled to visit Florida and were made by a person discovered to have ammunition, a handgun and other weapons, authorities said.
An affidavit filed by a Secret Service agent in U.S. District Court claims that Raymond Hunter Geisel, of Marathon, Florida, threatened to "kill, kidnap and cause bodily harm upon a major candidate for president of the United States, that is, Senator Barack Obama."
A search of Geisel's vehicle and a hotel room in Miami, where Geisel was attending a bail bondsman training class, found a 9-mm handgun, ammunition that included armor-piercing and rifle bullets, police-style emergency lights, body armor, a machete and two canisters of tear gas, among other military-style items, according to the document.
Agents say that classmates of Geisel reported that, between July 25-28, Geisel used a racial slur toward Obama and said "if he gets elected, I'll assassinate him myself."
A classmate said that, one day after class, she also heard Geisel say "that he hated George W. Bush and that he wanted to put a bullet in the president's head."
Obama made several campaign stops in Florida on Friday, a day before federal agents arrested Geisel at a Holiday Inn Express in Miami.
During an interview with the Secret Service, Geisel said he couldn't remember whether he threatened Obama and the president, but told agents that "if he wanted to kill Senator Obama he would simply shoot him with a sniper rifle."
He later said that comment was a joke, the agent said in the document.
Geisel also said he has post-traumatic stress disorder, which affects his memory, and had once checked himself into a psychiatric institution for treatment.
The affidavit, signed by Special Agent Charles R. Adie, said Geisel "generally provided no excuse" for why he had the weapons and other items - claiming that he collects some of them, that the handgun was for target practice during the bail bondsman course and that he uses the machete and a hatchet for cutting through brush in Maine, where he lived most of his life before moving to Florida in January.
On Thursday, U.S. Magistrate Judge Stephen T. Brown ordered that Geisel be held in jail until his trial, calling him a danger to the community and a risk to run away before his date in court.
The judge noted that Geisel lives on a sailboat, is unemployed and has no strong ties to the Florida area.
Geisel is scheduled to appear in court on August 18. If he has been officially indicted by then, he would enter a plea. If not, it would merely be a preliminary hearing on the charges.
Click here to read the Secret Service affidavit