PORTSMOUTH, N.H. — A Maine woman has been charged with child endangerment after police say she left her 6-month-old baby in a hot car while she went shopping in Portsmouth, N.H.

The Portsmouth Herald reports that 32-year-old Renee Ramsey of Wells was arrested Saturday after an officer broke one of the car’s windows to remove the baby, who was later released to a relative after being examined at the hospital. The temperature outside was 81 degrees, and officers measured the temperature inside the car at 117 degrees.

Police say they don’t know how long the baby was in the car, but they believe Ramsey parked at the shopping center 15 minutes before the child was removed. She returned to her car about 15 minutes after that.