FRANKLIN (Somerset) — Officials have confirmed that a 2-year-old girl who died Tuesday had been left in a hot car and investigators are still trying to figure out how it happened.

According to the Somerset County Prosecutor's Office, Franklin police received a report of a child in cardiac arrest at 2:21 p.m. at a home on Summerall Road. The call came over a fire radio.

Officials did not say who found the child. However, prosecutors said that a neighbor was performing CPR on the child when police arrived at the scene. The neighbor was a member of the local fire department.

Police, followed by medical responders from Robert Wood Johnson University Hospital, attempted life-saving measures on the girl. Soon after, the child was pronounced dead, according to prosecutors.

Officials said a preliminary investigation confirmed that the child had been left unattended in a car on Tuesday.

"Further investigation is ongoing to determine the exact length of time the child was in the vehicle, and the circumstances surrounding the events leading to this incident," Somerset County Prosecutor John McDonald said in a written statement.

An ambulance leaves the scene on Summerall Road. (NBC New York)
An ambulance leaves the scene on Summerall Road. (NBC New York)
loading...

NBC New York reported that witnesses saw officers knock on the front door of the home and heard the parents' screams of "pain and anguish." The mother was reportedly taken away in an ambulance after collapsing.

Officials are waiting for the results of an autopsy from medical examiners. No charges have been filed.

Rick Rickman is a reporter for New Jersey 101.5. You can reach him at richard.rickman@townsquaremedia.com

Click here to contact an editor about feedback or a correction for this story.

LOOK: 31 breathtaking images from NASA's public library

In 2017, NASA opened the digital doors to its image and video library website, allowing the public to access more than 140,000 images, videos, and audio files. The collection provides unprecedented views of space. Stacker reviewed the collection to select 31 of the most breathtaking images, including the first from the James Webb Space Telescope. Keep reading to see these stunning images, curated with further information about the captured scenes.

LOOK: Baby names that are illegal around the world

Stacker scoured hundreds of baby name databases and news releases to curate a list of baby names that are illegal somewhere in the world, along with explanations for why they’re banned.

RANKED: Here Are the 63 Smartest Dog Breeds

Does your loyal pup's breed make the list? Read on to see if you'll be bragging to the neighbors about your dog's intellectual prowess the next time you take your fur baby out for a walk. Don't worry: Even if your dog's breed doesn't land on the list, that doesn't mean he's not a good boy--some traits simply can't be measured.

More From New Jersey 101.5 FM