MONTGOMERY COUNTY, Kan. (KAKE) - A Kansas man suspected of child rape has been taken into custody Sunday after a standoff.

The Hutch Post reports that detectives with the Montgomery County Sheriff's Office and agents from the Kansas Bureau of Investigation were called at around 11:30 p.m. to serve an arrest warrant for 32-year-old Niklas Nelson for felony rape of a minor and criminal threat.

Nelson's father told authorities that he was hiding on the second story of a large metal shop that was on the property and that he may be armed. 

Law enforcement surrounded the shop and attempted to contact Nelson using a PA system. Detectives gained a search warrant for the property and the Montgomery County Emergency Response Team was activated. The KBI deployed an armored rescue vehicle and in case Nelson ran, and the Kansas Highway Patrol sent a helicopter.

Officer's took Nelson into custody and booked him on charges of rape, interference with law enforcement and possession of methamphetamine. 

Kansas Department of Corrections records show Nelson has prior convictions of assault, aggravated assault and obstruction.