ATHOL — Authorities have identified the two drivers who died Wednesday in a head-on crash on Route 2 as Thomas G. Prescott, 67, of Leominster, and Eric P. Shaw, 46, of Maynard.

According to the Northwestern District Attorney’s Office, Prescott was killed after his vehicle, traveling eastbound on Route 2, was hit head-on by a car traveling westbound being driven by Shaw. The crash occurred at the 72.2 mile marker on Route 2 at 7:48 p.m.

Prescott was pronounced dead at the scene, according to the DA’s office. Shaw died later at the University of Massachusetts Medical Center in Worcester. The crash shut down Route 2 to traffic for about two hours.

The crash remains under investigation by State Police attached to the Northwestern District Attorney’s Office, investigators with the State Police Crime Scene Services Section and the State Police Collision Analysis and Reconstruction Section, and the Athol Police Department. The Office of the Chief Medical Officer will determine the official causes of death for both men.