A former Niagara County corrections officer - and current white supremacist - is being held in federal custody after blowing off his own leg while making bombs in his garage.

Michael O’Neill, 45, is set to be detained without bail once he is released from the hospital where he had to have his leg amputated.The police found white supremacist and Nazi paraphernalia among his supplies for making explosive devices, and believe that he is potentially dangerous to more than just himself.

O’Neill is accused of making at least seven bombs, some of which contained nails and BB pellets.

A confederate flag, KKK memorabilia, and Nazi imagery were among the items found in the home where O’Neill was living with his step-father.

“Luckily, he is detained,” Assistant US Attorney John Alsup told Time Warner Cable News. “He is no longer at large in the community with or without some of the physical disabilities he’s going to have going forward, but luckily for the community, he only hurt himself.”

Lawyers for O’Neill argued that he was only making the explosives to blow up tree trunks in his yard. Law enforcement is looking into whether these claims hold water, and have confiscated his computer and cellphone in for evidence.

In the meantime, the judge agreed with the US attorneys that O’Neill is too much of a potential risk to the public — even with his new disability — and ordered him to be held without bail.

“The fact that there were some items that we described in court as consistent with, white supremacists, to include the Ku Klux Klan, and the Nazi imagery, some of the verbiage which was particularly on the Nazi picture, also the Confederate battle flag, means that law enforcement has more work to go,” US Attorney William Hochul told TWC News.