Police said he stole a running car from the parking lot of a 7-Eleven in Riverhead on Monday night, but he didn’t get far.

In fact, John A. Cruz-Grijalva, 20, of Melene Avenue, Riverhead, was arrested a short time later — at his house, about 1/4-mile from the robbery scene — after being tracked there by a canine unit, Riverhead Town police said.

advertisement | advertise on newsday

Police said the car was located at the house, as well, and said a search also found Cruz-Grijalva in possession of marijuana and a stun gun.

The incident began, police said, when the owner of the vehicle stopped at the convenience store on Old Country Road at 8:37 p.m. and left the car in the parking lot, engine running. He came out of the store to find the car missing. He then called 911.

Melene Avenue is just a few blocks from the scene and police said a canine unit was able to locate Cruz-Grijalva.

He was charged with third-degree criminal possession of stolen property, fourth-degree criminal possession of a weapon and unlawful possession of marijuana. Arraignment details were not immediately available on Tuesday.