A man shot himself in the head Sunday afternoon after allegedly driving the wrong way on Route 101 in Hampton, NH.

State Police officials said a fully marked Hampton police vehicle was among several nearly hit by the driver heading west on the eastbound lanes of Route 101 around 4:40 p.m. The Hampton officer changed direction and followed the vehicle after it turned onto Landing Road.

The driver went off Landing Road and got stuck in a marsh, according to State Police.

As Hampton officers stopped, they saw someone get out of the stuck vehicle and that person walking through bushes. The officers heard a single gunshot and found the man with a self-inflicted shot to the head.

No shots were fired by Hampton police, according to State Police.

The man was taken to Portsmouth Regional Hospital. Police did not disclose his identity pending notification of his family.

Contact reporter Dan Alexander at Dan.Alexander@townsquaremedia.com or via Twitter @DanAlexanderNH

LOOK: How well do you know New Hampshire's official state symbols?

Many people remember learning about their states' history back in elementary school. But can you still remember your state bird? How about your state flower? To test your state knowledge, Stacker compiled a list of symbols in New Hampshire.