A 911 call from a child early Tuesday morning ended with a Randolph man being arrested on charges of domestic abuse and possession of a firearm by a felon.

Mark A Cox, 33, appeared in Columbia County Circuit Court Thursday via video from the Columbia County Jail, charged with a felony weapons offense and misdemeanor disorderly conduct.

According to the criminal complaint, Cox arrived home, where he lives with a woman and three children, at about 2:30 a.m. Tuesday.

The woman told officers that Cox had come home hours late from work and didn’t look right, in part because he had dilated pupils. She told him to leave and after an argument that woke the children, he said he would leave but was taking the 4-year-old girl with him.

When the girl was not going with him, he reportedly went to the gun cabinet and took out a .243 caliber rifle and ammunition, unsuccessfully trying to load the weapon before taking the gun and the bullets and leaving.

While the argument was happening, one of the children called 911 and two Columbia County Sheriff’s Office deputies were dispatched to the scene where they spoke with the woman and children, then later met Cox when he returned. The officers later found the rifle and ammunition on the property.

At his bond hearing on Thursday, Judge W. Andrew Voigt ordered Cox to be released on a $5,000 signature bond on the condition of having no violent or abusive contact with the woman involved in the case or her children, to maintain absolute sobriety and not possess any weapons.

On Aug. 30, 2016, Cox entered a plea of no contest to felony possession of marijuana as a repeat offense and in February 2015 entered a guilty plea to charges of felony possession of narcotics and neglecting a child, resulting in a withheld sentence and two years of probation.

If convicted in his current case, Cox faces a potential sentence of 14 years for possession of a firearm and up to two years for the domestic abuse charge. He is scheduled to next appear in court for a Feb. 2 return hearing.