MIRAMAR, Fla. -

A 3-year-old girl was taken to the hospital after being shot in Miramar, police said.

The shooting happened around 9:15 p.m. Wednesday at 4396 Southwest 132nd Way.

Mariamar police said the girl was taken to Joe DiMaggio Children's Hospital after being shot once.

The girl's mother called 911. The two were the only ones at home, according to the preliminary investigation.

A man claiming to be the child's godfather told Local 10 News the shooting was accidental. He said the girl was going to be OK.

The mother spoke with detectives Wednesday night at police investigated at the scene.