The suspected gunman who is believed to have killed a Texas state trooper on Thanksgiving Day was captured in Waller County.

Waller County is located northwest of Houston.

The Texas state trooper, who hasn't been identified, was shot and killed at about 4 p.m. on Interstate 45 just south of Fairfield in Freestone County. The trooper was returning to a patrol vehicle when the suspect fired shots with a rifle. The trooper died on scene, according to Texas DPS.

The suspect has been identified as 32-year-old Dabrett Black, of Lindale. He's described as a black male, 5 feet 11 inches tall and 175 pounds.

The suspect fled the scene in a 2012 Chevy Malibu, which was located early Thursday evening in Waller County. Shots were later reported fired in the area and the suspect spotted fleeing on foot.

Black has a previous criminal history that includes evading arrest and violence toward law enforcement, authorities say.

In July, WFAA's sister station CBS19 in Tyler reported Black was jailed in Smith County after a car chase with deputies. The chase ended when Black struck a patrol vehicle and both he and a deputy were transported to a hospital with non-life-threatening injuries. Black was charged with evading arrest, aggravated assault against a public servant and reckless driving.

Authorities asked residents to call 911 and not approach the suspect if spotted.

"I am saddened to hear of the tragic death of a Texas Department of Public Safety trooper killed today in Freestone County," said Texas Attorney General Ken Paxton. "This trooper died selflessly serving Texas. Please join Angela and me as we pray for the trooper's family and for the entire Department of Public Safety."

Gov. Greg Abbott also reacted to the fatal shooting from his Twitter account.

"Sad on Thanksgiving to lose one of our state troopers in the line of duty," he wrote. "Prayers for his family. Swift justice for his killer."

Reporter Jason Whitely contributed to this report