LONDONDERRY — Police are crediting two Good Samaritans for freeing a man trapped in his burning vehicle after a crash Saturday morning.

The man had to be airlifted to a Boston hospital, and his dog was taken to a Manchester veterinarian for treatment of injuries suffered in the crash, police said.

According to a press release, police were called to the area of 393 Mammoth Road for a motor vehicle crash at 6:18 a.m. and found a vehicle on fire with the driver trapped inside. A Londonderry man, identified as Earl Wickline, was using a fire extinguisher he had gotten from a local resident to try to put out the flames.

Police Sgt. Patrick Cheetham and Officers Jake King and Adam Lane helped Wickline and another Good Samaritan, Apryl Norris of Londonderry, free the driver from the vehicle, according to the release.

Londonderry fire department personnel helped transport the injured man to the parking lot of St. Jude Church on Mammoth Road, where he was taken by Boston Med-Flight to Brigham and Women's Hospital.

His condition is not known and police are not releasing his name until his family is notified.

Police said an initial investigation indicates the man was driving southbound on Mammoth Road when the vehicle veered off the northbound shoulder and into a tree. Police noted the roadway did have a layer of snow at the time but it was unknown if that contributed to the crash.