New Hampshire State Police are investigating gunfire involving a driver and a sheriff's deputy during a traffic stop that led to an hourslong standoff at a home before the driver was taken into custody, authorities said.

The Carroll County sheriff's deputy attempted to conduct the traffic stop at about 11 a.m. Tuesday in Tuftonboro. The male driver was "known to that deputy," and there was an "apparent discharge of firearms" during the stop, authorities said in a news release. No one was struck or hurt.

The driver fled into an adjacent home where he remained for hours. Many police officers responded to the area.

NEW HAMPSHIRE MISSING GIRL CASE IS NOW BEING INVESTIGATED AS A HOMICIDE

Hampton Beach, Portsmouth, Manchester news

A New Hampshire man has been brought into custody after discharging his firearm and an hourslong standoff with police. (Fox News)

The man was taken into custody at about 8 p.m.

NEW HAMPSHIRE HIKER DIES AFTER SLIPPING ON CANNON MOUNTAIN

The circumstances surrounding what led up to the event, including the discharge of weapons, is ongoing, the news release said.