Updated

The man who allegedly killed a Mississippi police officer and Air Force veteran was captured on Monday, officials said.

Darian Tawan Atkinson, 19, is accused of fatally shooting Officer Robert McKeithen, of the Biloxi Police Department, outside of the agency's headquarters on Sunday night.

Darian Tawan Atkinson, 19, is accused of killing a Mississippi police officer outside the department's headquarters on Sunday night.  (Biloxi Police Department)

Atkinson was charged with capital murder, and a warrant was issued for his arrest on Monday. He was taken into custody in Wiggins, a city roughly 40 miles north of Biloxi, police said.

The suspect was considered "armed and dangerous," and investigators said they were "actively pursuing him."

MISSISSIPPI POLICE OFFICER SHOT AND KILLED BY MYSTERY GUNMAN IS IDENTIFIED AS AIR FORCE VETERAN

McKeithen, whom Atkinson allegedly killed, served with the police department for 24 years and was set to retire at the end of 2019.

The suspect, later identified as Atkinson, appears to be between 5-foot-7 and 5-foot-10. (Biloxi Police Department)

The 58-year-old was shot multiple times near his patrol car parking outside police headquarters and later died at a local hospital. The suspect ran off after firing several rounds, officials said.

“Any time you have this kind of deliberate and violent attack on a police officer, especially right in front of a police station, it should cause everyone great concern,” Gulfport Police Chief Leonard Papania previously said.

ALABAMA POLICE OFFICER FATALLY SHOT; WIFE CHARGED WITH MURDER, AUTHORITIES SAY

Biloxi Police Chief John Miller said McKeithen was among a group of officers awarded the Medal of Valor for saving four special needs children from a flooded home during Hurricane Katrina in 2005.

CORRECTS FIRST NAME TO ROBERT, NOT JOHN - This photo provided by the City of Biloxi, Miss., Public Affairs Department shows police officer Robert McKeithen who was killed Sunday night, May, 5, outside the department building in Biloxi. (City of Biloxi, Miss., Public Affairs via AP)

“That’s the kind of guy he was,” Miller said. “It was a horrible, horrible event he had to go through but he went through it anyway. And they say those children undoubtedly would have perished.”

“He was very gentle, likable, he treated people with respect and dignity and we are going to miss him sorely,” the police chief added. McKeithen leaves behind a wife, daughter, two stepsons, and a stepdaughter.

CLICK HERE TO GET THE FOX NEWS APP

The Gulfport Police Department and Harrison County Sheriff’s Office worked together on the investigation and were being assisted by their counterparts at the federal, state and local levels.

A $35,000 reward was offered for information leading to Atkinson's arrest.

Fox News' Greg Norman and The Associated Press contributed to this report.