TROY — A city woman accused of leaving two dogs inside a locked car last month in 81-degree temperatures pleaded guilty Tuesday in city court to disorderly conduct.

Yessenia M. Santana of Troy was sentenced to serve two days in the sheriff's work order program, court officials said.

The dogs were in the woman's car July 30 on the campus of Hudson Valley Community College for about three hours. The windows were rolled up, and the dogs had no food or water.

According to city police, an HVCC public safety officer was flagged down about 1:50 p.m. that day by a faculty member who said he saw two dogs being kept in a locked car in a parking lot. The HVCC officer saw the animals were in distress, tried to find the car's owner and called Troy Police.

Troy officers responded with Troy Animal Control and removed the dogs, which were panting heavily and barking. They were taken by animal control to a local veterinarian for treatment.

Santana was located and arrested the following morning.

She originally was charged with two counts of injuring animals under the state Agriculture and Markets law, police said.