Cops rescued a terrier from a hot car with no plates in Brooklyn on Saturday night, cops said.

A man on Saint Marks Avenue flagged down two officers about a distraught Jack Russell Terrier that was running around inside a 1997 Ford Expedition about 9:45 p.m., police officials said.

Police said that one window had been cracked open slightly, but the dog was still overheated. There were no license plates on the car, which was full of boxes and clothes, and no tags on the dog.

The NYPD then turned over the terrier to Animal Care and Control, since the owner could not be tracked down, cops added.