Officers had to use a Taser on a man they say was being combative and fighting with them while there was an unsecured gun in his car, police said.

WHITMAN – A man who was driving while intoxicated had an unsecured gun in his car and had to be stunned with a Taser early Sunday, police said.

Police received a call at 1:27 a.m. reporting a possible drunk driver heading north from Washington Street and Country Way toward downtown.

Officer Patrick Burtt-Henderson was dispatched and stopped the vehicle at Washington and Gold streets.

The driver was identified by police as Kevin P. Mayer.

“They smelled a strong odor of alcohol on him,” Police Chief Scott Benton said.

Mayer became combative with officers and was stunned with a Taser.

“He fought with them a couple different times and was swearing, yelling obscenities,” Benton said.

Inside his vehicle, police located a 9-millimeter Glock handgun, Benton said.

“It was in a small black metal box, but the lid was open,” Benton said.

Mayer is licensed to carry and the gun was in a box that is fine to store it in, but the lid can’t be open, Benton said.

Mayer, 28, of 804 Washington St., Apt. 2, Whitman, was arrested and charged with drunken driving, carrying a firearm under the influence of alcohol, improper storage of a firearm and resisting arrest.

He was expected to be arraigned Monday in Brockton District Court.