A man in Maryland was pistol-whipped Sunday during an attempted carjacking in which shots were fired but the suspects changed their minds after they realized none of them could drive a stick-shift, authorities said. 

Officers with the Montgomery County Police Department were called to the 7200 block of Wisconsin Avenue in Bethesda around 11:55 p.m. over reports of an attempted carjacking, Fox 5 DC reported. 

MARYLAND MAN KILLED AFTER FIRING AT OFFICERS, WOMAN FATALLY SHIOT

A man in front of a business said he was approached by three of four people who demanded the keys to his SUV at gunpoint. 

Police officers at the scene where a man was injured during an attempted carjacking.

Police officers in Bethesda, Maryland at the scene where an attempted carjacking occurred Sunday night.  (WTTG)

The group allegedly beat the man with a pistol. The victim told investigators he ran inside a business and shots were fired but no one was injured. 

The carjacking was called off when the suspects realized that none of them knew how to drive a manual transmission, the news report said. 

CLICK HERE TO GET THE FOX NEWS APP

The suspects instead fled in another vehicle. The victim sustained injuries from the alleged assault but was recovering. 

Fox News Digitals has reached out to authorities.