The serial bomber who terrorized Austin, Texas for three harrowing weeks blew himself to bits with his own device as cops closed in early Wednesday morning, officials said.

The suspect was identified to the Wall Street Journal by law enforcement sources as Mark Anthony Conditt, 24. He was killed near the motel he was traced to by authorities using surveillance footage from a Federal Express drop-off store and cell phone triangulation technology, according to The Austin American-Statesman.

The man, whose name was not released, died after fleeing the motel in a car, with police hot on his tail. He drove into a ditch, sparking the fatal confrontation.

“We wanted this to come to a peaceful resolution tonight,” said Austin Police Chief Brian Manley. “However, we were not afforded that opportunity when he started to drive away.”

Officials work at the scene where the suspect in a spate of bombing attacks that have terrorized Austin over the past month blew himself up with an explosive device as authorities closed in, the police said early Wednesday, March 21, 2018. (AP Photo/Eric Gay)

Officials work at the scene where the suspect in a spate of bombing attacks that have terrorized Austin over the past month blew himself up with an explosive device as authorities closed in, the police said early Wednesday, March 21, 2018.  (AP Photo/Eric Gay)

Police said the man detonated two package bombs as police closed in, firing at him. It was not immediately clear whether he died from the bombs or shots fired by police. One officer was knocked back by the blasts, but none were seriously hurt.

Manley said police had zeroed in on a “person of interest” over the last 24-36 hours, tracing him to the motel in Round Rock, where they spotted his vehicle. The suspect is believed to be from the Pflugerville area, located near the site of the showdown with cops in Round Rock, FOX7 reported.

Round Rock 1

Law enforcement responds to where the Austin bombing suspect detonated two packages as police closed in.  (FOX7)

“Late last night and early this morning, we felt very confident this was the suspect in bombings throughout Austin,” Manley said.

As police took up positions around the motel and waited for tactical units to arrive, the suspect bolted, Manley said.

AUSTIN PACKAGE BOMB ATTACKS TIMELINE

Police followed the vehicle, and, when it went off the road, SWAT team officers moved in.

“The suspect is deceased with significant injuries,” Manley said, adding that he has not yet been positively identified by the medical examiner.

Manley also warned more package bombs could be out there.

“We don’t know where he has been in the past 24 hours,” Manley said. “If you see