A 36-year-old woman, a 5-year-old girl, and three dogs were killed Wednesday in a New York City apartment fire that was caused by the lithium battery on an electric bike or electric scooter.

The girl's 46-year-old father was critically injured. The woman who was killed was the man's girlfriend.

The fire sparked around 2:40 a.m. in the East Harlem area of Manhattan.

“Per FDNY Fire Marshals the cause of this morning’s fatal all-hands fire which killed two people and left one other in serious condition at 110 East 129 Street in Manhattan was lithium ion batteries from E-Bikes/Scooters,” the New York City Fire Department said in a tweet.

The fire stayed contained to the apartment. It took about an hour for firefighters to put it out. Over 78 fire personnel responded to the scene, the FDNY said.

The FDNY also reported that another fatal all-hands fire occurred on Monday in the Bronx that was confirmed to be caused by lithium ion batteries from electric bikes or electric scooters.

Multiple fires have also been reported from lithium batteries from Tesla vehicles. In June, a Tesla that had been sitting in a California wrecking yard for three weeks not only spontaneously caught on fire but kept re-igniting several times after firefighters tried to put it out.