Police say a man accidentally dialed 911 while he and a buddy were breaking into a car, unknowingly leading Fresno, Calif., officers right to their location.

The two men, Nathan Teklemariam and Carson Rinehart​, both 20, face charges of breaking and entering, possession of stolen property and conspiracy, according to Fox News.

KGPE.com explains that the 911 dispatcher could hear people speaking in the background, so he listened to see if anyone was in need of assistance.

It didn't take long for the dispatcher to realize that the men weren't so much in danger as they were up to no good. On the recording made available to KGPE.com, one of the men can be heard to say, "I just want to smoke weed right now." That's pretty much the least incriminating thing they said.

The discussion then shifts to how the two should break into an automobile. Later, the sounds of a window being smashed can be heard followed by a suspect's excited declaration that he found prescription drugs in the car.

All the while, the dispatcher was listening and seeking clues as to where the pair might be. Eventually, police were able to locate the two men and followed them. The suspects can be heard fretting over why the police are on their tail. It's like a farce crossed with an episode of "Cops."

"He's following the (expletive) out of you, bro," one suspect said. The other, apparently suffering from short-term memory loss, then replied, "Wow, what the (expletive) did I do?"

The mystery was solved when the cops pulled them over. Playing it straight, the police officer asked one of the suspects if he had anything in the vehicle that "shouldn't be in the vehicle."

One of the men said he doesn't, but a quick search of the car yields the stolen property. That's when the police decide to let the men in the butt-dial.

"We really called 911?" one of the suspects said. "Damn."