The 5-year-old girl was taken to hospital for treatment but later died from her injuries.