THE father of a missing three-year-old who was arrested at a New Mexico compound last week was training children to commit school shootings, court documents filed on Wednesday in the US revealed.

Prosecutors allege Siraj Ibn Wahhaj, 39, was conducting weapons training on the compound, where 11 children were found hungry and living in squalor.

They asked Wahhaj be held without bail, reports Fox News.

Police raided the compound on Friday after a months-long search investigating the disappearance of Abdul-ghani Wahhaj, a boy with severe medical issues who went missing from Georgia in December.

On Monday, a child’s remains were found on the property, but authorities were working on a positive identification and did not confirm if the remains were that of the missing boy.

Lucas Morton, Jany Leveille, 35, Hujrah Wahhaj, 38, and Subhannah Wahhaj, 35, were also arrested on the property on Friday and all face child abuse charges.

The makeshift compound — located near the Colorado border — was found shielded by old tires, wooden pallets and a wall studded with broken glass. Upon authorities’ arrival, Wahhaj was “heavily armed with an AR15 rifle, five loaded 30 round magazines, and four loaded pistols, including one in his pocket when he was taken down,” Taos County Sheriff Jerry Hogrefe said.

The sheriff said the children, ages 1 to 15, “looked like third world country refugees not only with no food or freshwater, but with no shoes, personal hygiene and basically dirty rags for clothing.”

The only food investigators found was some potatoes and a box of rice inside a dirty trailer, the sheriff added.

This story was originally published on Fox News and is reprinted with permission.