JACKSONVILLE, Fla. -- A terrifying Friday night for a family at the Best Buy near the Avenues Mall. A 9-year-old girl was beaten and nearly killed in the women's bathroom at the Best Buy on Southside Boulevard, according to the Jacksonville Sheriff's Office.

Jacksonville Sheriff's Office initially responded to a reported battery Friday evening. According to JSO Sgt. Jay Farhat, a 9-year-old girl was shopping with her mother.

The girl got out of her mother's sight for a minute and 29-year-old James Patrick Tadros from St. Johns County, lured the girl into the women's bathroom.

Another customer heard her screams for help and rushed in. The customer came into the bathroom and found Tadros beating the girl. Farhat said if the customer hadn't come in when they did, the girl would have been killed.

Farhat said Tadros, did not know the young girl. Police also said that he punched and kicked her, put a plastic bag over the girl's head and held her head down in the toilet.

"By the grace of God she survived customer and employees got in when they did. If it had been any longer this could have been a much worse outcome," Farhat said.

The victim is receiving treatment at UF Health. Farhat said the victim does not appear to be sexually assaulted but testing is being done to make sure.

"This appears to be an isolated random incident," Farhat said.

Tadros is in custody and will be charged with attempted murder. His arraignment is set for 1 p.m. Saturday afternoon.

UPDATE: Tadros made his first appearance and court Saturday. He was charged with attempted murder, false imprisonment and criminal mischief.