Police smashed the window of car to rescue A 2-year-old English Mastiff locked inside during 30 C temperatures Saturday.

The dog, named Andre, was in obvious distress and drew the concern of passersby, according to the Hamilton Police, who were called to the scene just after 4 p.m.

The car, parked at Budget Inn near King Street and Sanford Avenue, was locked with its windows rolled up. Only the sunroof was open a crack.

Police couldn’t find the car’s owner, so they broke the back window and pulled the dog out of the car.

“He collapsed on the pavement of the parking lot unable to walk,” Hamilton Police spokesperson Debbie McGreal-Dinning said.

Police and onlookers found water and bags of ice to try to help cool and rehydrate the dog, and the police took the dog to an emergency veterinarian.

Andre was diagnosed in critical condition due to heatstroke. He is expected to recover fully.

The owner presented himself to police and was arrested and released with a notice to appear in court on animal-cruelty charges.