One driver was killed and another person charged with driving while impaired by drugs after a crash involving four cars Tuesday night on William Floyd Parkway in Shirley, Suffolk police said.

The driver who later was charged had run off after the crash at the intersection with Montauk Highway, police said. Officers pursued him on foot for a short distance, taking him into custody in a parking lot next to a fast food business, said Det. Sgt. James Madden of the Suffolk police vehicular crimes unit.

Occupants of all four vehicles were taken to Brookhaven Memorial Hospital Medical Center in East Patchogue, where one driver was pronounced dead, Madden said.

The primary crash occurred between a vehicle going north on William Floyd and a vehicle with an impaired driver going east on Montauk Highway at about 9:50 p.m., police said.

Two other vehicles, one also northbound on the parkway and another going west on Montauk, were hit in a collision that shut down travel lanes in both directions on William Floyd for about a block, police said.

Suffolk County Police and several fire departments and ambulance companies responded to a serious multi-car accident on Montauk Highway and William Floyd Parkway in Shirley at around 9:40 p.m. on Aug. 11, 2015. Photo Credit: John Walthers

The eastbound driver was charged with driving while impaired by drugs and leaving the scene of an accident involving a death, police said.

advertisement | advertise on newsday

One of the northbound drivers, the sole occupant in the vehicle, was pronounced dead at the hospital, Madden said.

The occupants of the two other vehicles were treated for non-life-threatening injuries, police said.

Employees of the nearby Burger King said more than five police cars shot into the parking lot of the Jeans Town next door in pursuit of a man.

"I saw police chasing a guy," said Braden Clark, who was working at the drive-through window.

He said it was unnerving because he was stationed by the glass window.

Several officers cornered the man by the side of Jeans Town, Clark said.

Police did not release the names of the victim and the driver charged.

The makes and models of the cars involved were not immediately available, and police said they had not yet determined who had the green light and how fast each vehicle was going. Witnesses were being interviewed early Wednesday morning, police said.

Seventh Precinct detectives and several patrol officers were at the scene also, along with a police dog and handler called in to provide extra help, police said.

CORRECTION: Because of incorrect information from police, an earlier version of this story misstated one charge against the driver.