A DeKalb County officer killed in the line of duty Thursday was a rookie cop who had been with the department a little over a year.

Edgar Isidro Flores, 24, took gunfire while pursuing a man who ran from a traffic stop on Candler Road near I-20 about 5 p.m., according to police. He was shot multiple times when the man, identified by the GBI as 33-year-old Brandon Taylor of Decatur, pulled out a handgun.

Flores was rushed to Grady Memorial Hospital, where he was pronounced dead. He was at the beginning of his law enforcement career, hired by the police department on May 8, 2017, and a graduate of the Nov. 4, 2017, police academy class, the county said Friday morning in a statement.

He had great promise, DeKalb County CEO Michael Thurmond said. Flores was engaged to be married and just days away from celebrating his 25th birthday this weekend.

“Our prayers go out to him and his family and to the men and women of DeKalb County, and all across the state and this nation, who put their lives on the line, every day, to keep us safe,” Thurmond said.

RELATED: Sign the guestbook for Officer Edgar Isidro Flores

RELATED: DeKalb officer is Georgia's 5th killed in line of duty this year

He was also an alumnus of the University of North Georgia, having graduated magna cum laude in 2016 with a bachelor’s degree in criminal justice, the university said in a Facebook post.

When Flores went down, it set off a massive manhunt for his alleged shooter involving county SWAT officers and a police dog.

Taylor was eventually found hiding in a pile of tires behind a business on Candler Road, about a block away from the initial traffic stop, GBI spokeswoman Natalie Ammons said Friday.

“When confronted, Taylor fired his weapon, striking the K9,” Ammons said in a news release. “Three DKPD SWAT officers fired at Taylor. Taylor was taken to Grady Memorial Hospital where he was pronounced deceased.”

The police dog, a 7-year-old shepherd named Indi, was taken to a local veterinarian for treatment and rushed into surgery. Indi was shot in the eye, and the bullet exited through his ear without causing significant brain damage. He was stable Friday afternoon, Ammons said.

Leston Simpson, Edward Bates and Stephen Rapier were the three officers who fired at Taylor, according to the GBI.

Flores was the fifth Georgia officer killed in the line of duty this year, and the 31st DeKalb police officer to be killed on the job. The last DeKalb officer killed in the line of duty was Master Patrol Officer Kevin Jermaine Toatley, who died in a car crash on Sept. 19, 2015.

At a news conference Thursday night, DeKalb police Chief James Conroy commended his officers for the way they handled a very tough call.

“I am very proud of the men and women of the police department,” Conroy said. “They responded to the scene, were able to track the suspect, they did their job. And all while this was going on, the officers continued throughout the county providing services to the citizens of DeKalb.”

Governor-elect Brian Kemp tweeted his condolences for the officer, saying, “We are forever grateful for his service and sacrifice. Our prayers are with those who mourn.”

GoFundMe page has been set up to help Flores' fiancee, Lizandra Mora, pay for his funeral and other pending bills. As of Friday evening, it had raised a little more than $2,500.

Flores was also the second metro Atlanta officer shot in a week. On Dec. 6, a Henry County officer was critically injured when he was shot in the face. Officer Michael Smith has improved, but remains in the hospital.

MORE: With single shot, struggle inside dentist's office leaves officer injured, man dead

The incident Thursday briefly shut down I-20 in both directions. More than 70 police vehicles were at the scene on Candler Road after the initial incident.

The incident in DeKalb County is the 89th officer-involved shooting the GBI has been called to investigate this year, which surpasses the 88 such investigations opened last year, Miles said. It is the fifth officer-involved shooting investigation opened since Sunday.

RELATED: Georgia on pace to double deadly officer-involved shootings in 2018

OVER THE LINE: An investigation into police shootings in Georgia

Those incidents include shootings in Chatham CountyTurner CountyGordon County and Bibb County.

— Staff writer Alexis Stevens contributed to this article.