A woman was cited in Frederick Wednesday for allegedly leaving a poodle locked inside a hot car with the windows rolled up while she went to a tanning salon, Frederick County police said.

Police responded to a call about the dog around 7 p.m., said Frederick County police Lt. Clark Pennington. At the time, the temperature outside was 97 degrees, according to police.

Officers searched for the car’s owner, but could not find her, according to Pennington. The officers were about to pick the car’s lock when the owner came out of the salon.

The dog was freed, but the temperature inside the car had reached 152 degrees, Pennington said. It was unclear how long the dog had been in the car, but it was unharmed by the ordeal.

The woman received a $70 ticket for endangering an animal and also faces a misdemeanor charge of cruelty to an animal, according to Pennington.

The woman was allowed to keep her dog.