A 23-year-old D.C. man has pleaded guilty to pistol-whipping, robbing and shooting a pizza delivery driver in the head, authorities said Monday.

According to officials, during the early morning hours of Jan. 14, Walter Douglas and two other men were driving in the area of the 200 block of Adams Street Northeast.

When the trio saw a pizza delivery car, Douglas pulled over, armed himself, and confronted the driver.

Police said that Douglas pistol-whipped the 24-year-old driver several times as he demanded money. He forced the driver face down into the open passenger door of the delivery car and took his wallet. Douglas then shot the driver in the back of the head at close range, authorities said..

Douglas took two delivery bags containing food, got back into his car, and drove away from the scene.

The victim was left in the street, bleeding heavily from the head.

A witness who heard a gunshot called 911 and reported seeing a white car drive away from the scene.

D.C. police working in the area of the attack saw a car matching the description given by the witness and followed it into the Third Street tunnel on I-395. They tried to pulled the car over, but Douglas sped away and a brief chase followed.

The chase ended when Douglas crashed into a concrete barrier near the intersection of Fourth and P Streets SW.

When officers searched the defendant’s car, they found a .45 caliber semiautomatic pistol and bags containing food from the pizza company.

Douglas also had the delivery driver’s wallet.

As a result of the shooting, the victim lost his left eye and required extensive reconstructive surgery to repair damage to his head and face.

Douglas pleaded guilty to assault with intent to kill on Friday and is scheduled to be sentenced May 9.