A 4-year-old girl was taken to a San Jose hospital on Wednesday after police say she was hit on the head with a crowbar by a woman at a Walmart store.

According to San Jose police, the 18-year-old woman entered the store on Story Road shortly before 11 a.m. and attacked the girl, who was shopping with her father. He prevented the woman from striking his daughter a second time.

Walmart security guards detained the woman until San Jose police arrived. They arrested Maria Garate, a transient from San Jose, for assault with a deadly weapon. She was booked into Santa Clara County Jail.

San Jose police Sgt. Heather Randol said no further information was available.