The driver who led police on a chase Wednesday morning that ended with two state troopers shooting at him and his capture by a police dog was behind the wheel of a truck with a switched license plate, a trooper said in an arrest warrant.

Trooper Christopher Anderson wrote that Demetrice Daniels, 29, was driving a Chevrolet Silverado with plates belonging to a 2004 Nissan Xterra when an officer tried to stop him about 5:30 a.m. near Interstate 10 and Crowder Boulevard. Police say Daniels then led them on a chase to Franklin Avenue and Lavender Street in Gentilly Terrace.

Police said Daniels displayed what one trooper “believed to be a pistol” when he stopped. They said one trooper fired his gun at Daniels, who had a female passenger, when Daniels “aggressively accelerated” toward him as two State Police vehicles tried to box him in.

Police said Daniels then drove first southbound and then northbound on Franklin Avenue, passing an NOPD unit stopped on the street, then swerved left and struck a median, driving toward where another trooper was standing.

“The second trooper, fearing for his safety, also fired his duty weapon at the suspect; however, he was not struck,” the warrant reads.

Daniels finally was collared by an NOPD dog under a residence in the 3800 block of Franklin. The dog bit him several times.

The warrant does not state whether police located the gun the first trooper said he believed he saw.

The two troopers who shot at Daniels are not identified in the warrant, and a State Police spokesman did not answer a request for their names Thursday.

The 24-year-old woman inside the car with Daniels, who also was not hit by the gunfire, was covered under a protective order directing him to stay away from her, police said.

Daniels was booked on aggravated flight from an officer, three counts of aggravated assault with a vehicle upon a police officer, simple damage to criminal property and violation of a protective order.

Magistrate Commissioner Jonathan Friedman set his bail at $120,000 on Thursday.

Daniels’ defense attorney, Joseph Rome, did not return a request for comment.