JEFFERSONVILLE - A Jeffersonville man, upset over the impending foreclosure on his home, told a social worker Monday that he had explosives and threatened to harm police or anyone else who came to his house, triggering a serious police response involving bomb squad members, officials said Thursday.

Bryan Miller, 53, showed the social worker a device with wires on it, which he identified as a detonator, said the Sullivan County Sheriff’s Office. Police said he claimed he had made a pipe bomb and had C4 explosive in his possession.

The social worker left the Durr Road home and notified police. The sheriff’s Emergency Services Unit, state police Hazardous Device Unit and agents from the Bureau of Alcohol, Tobacco and Firearms also responded.

Sullivan County Undersheriff Eric Chaboty said jail Chief Hal Smith knows Miller, and spoke to him through the front door, eventually coaxing the man to open the door.

Police said deputies then tackled Miller and took him into custody.

State police and ATF agents entered the house and found the device, which appeared to be a pipe bomb. Police said X-rays revealed the device was filled with coins, screws and nails. But when the assembly was dismantled, police found there was no gunpowder or others explosive material inside.

Police charged Miller with making a terroristic threat, a felony. He was arraigned by Callicoon Town Justice Ed Mckenna and sent to Sullivan County Jail on $35,000 bail, awaiting a court date.