HELENDALE — A man was arrested here when he barricaded himself inside his house for hours after temporarily holding a woman and child hostage on Thursday, officials said.

The standoff, which lasted more than seven hours, began when San Bernardino County Sheriff’s deputies arrived at the residence in the 27400 block of Outrigger Lane at 2:16 p.m., after receiving a report of a domestic dispute.

According to a Sheriff’s statement, the caller said the man, 45-year-old Ryan Bomgaars, “was not allowing the victims to leave the residence.” Gunshots could be heard coming from inside.

When deputies arrived, they confirmed that Bomgaars was holding an unidentified 32-year-old woman and 3-year-old girl hostage.

Residents in the immediate area were evacuated and roads leading up to the house were blocked, officials said.

Bomgaars eventually allowed the woman and girl to leave unharmed but remained inside.

The Sheriff’s Aviation Division and Specialized Enforcement Division responded. More gunshots could be heard from inside the residence.

After negotiations with Bomgaars to leave the house failed, the “SED took appropriate measures to enter the house” at about 9:30 p.m. and took him into custody, according to the statement.

He was arrested and booked on suspicion of assault with a firearm and false imprisonment. County booking records show he is being held at the High Desert Detention Center in lieu of $200,000 bail.

Court records show Bomgaars has prior convictions of buying or receiving stolen property, drug possession and DUI.

His court appearance is scheduled for Monday at the Victorville Superior Courthouse.

Anyone with information regarding this crime is urged to contact Detective J. Gernon at the Victor Valley Sheriff’s Station at 760-552-6800. Persons wishing to remain anonymous can call the WeTip Hotline at 1-800-782-7463 or visit www.WeTip.com.

Martin Estacio may be reached at MEstacio@VVDailyPress.com or at 760-955-5358. Follow him on Twitter @DP_mestacio.