The girl was airlifted to hospital