BOSTON (AP) — Passersby who spot an animal locked in a hot car would be allowed to smash the car’s window to rescue the pet under a bill approved unanimously by the Massachusetts Senate.

The passerby would first have to see if the door is locked, make a quick effort to find a police officer and call 911.

But they would be able to smash a window to rescue the animal as a last resort.

The Senate on Tuesday also unanimously passed another bill that would ban the sale of puppies and kittens under 8 weeks old.

The bill would also let veterinarians declare a pet with a significant health condition “unfit for purchase.” Buyers would be able to exchange the pet or seek a refund.

The bills now head to the House.

(Copyright (c) 2024 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)

Join our Newsletter for the latest news right to your inbox