The Texas Tech University police officer who was fatally shot by a 19-year-old student has been identified as Floyd East Jr.

The suspect, identified as Hollis Daniels, was charged early Tuesday with capital murder of a peace officer.

According to a Texas Tech University statement, campus police made a student welfare check Monday evening and, upon entering the room, found evidence of drugs and drug paraphernalia. Officers then took the suspect to the police station for a standard debriefing and to prepare to take him to the Lubbock County jail, Texas Tech police Chief Kyle Bonath said.

"During this time, the suspect pulled a gun and mortally shot an officer," Bonath said. "The suspect fled on foot and later apprehended by ... (campus police) near the Lubbock Municipal Coliseum."

The suspect was tackled by officers in a parking lot adjacent to the coliseum.

It is not clear if Daniels had the gun on him when he was taken to the police station or if he took the weapon from an officer. Online jail records don't indicate whether he has an attorney to speak on his behalf.

"The family of the officer is in the thoughts and prayers of the Texas Tech community," said Texas Tech President Lawrence Schovanec. "I want to express my deep appreciation to the Texas Tech Police Department, Lubbock Police Department, Lubbock Sherriff's Office, and other state and federal law enforcement officials for their response."

According to an arrest warrant, Daniels told investigators he "f***ed up" and "did something illogical" in connection with the death of an officer Monday night.

According to the warrant, another officer found East's body with an "apparent gunshot wound," and said Daniels was no longer in the room.

East's .45 caliber pistol was reportedly in his holster, but his police body camera was missing.

Daniels was located nearby and taken into custody, and a police body camera was also located near where he was arrested.

Daniels also told officers "he was the one who shot their friend," according to the warrant.

University officials in a press conference Tuesday say East, 48, had been employed with the department since December 2014 as a guard at the Texas Tech University Health Sciences Center in El Paso. While working as a guard, he attended the El Paso Community College Law Enforcement Academy and obtained his Texas Commission on Law Enforcement (TCOLE) Basic Peace Officer license. After graduating from the Police Academy in June 2016, East transferred to the Texas Tech Police Department Lubbock campus in May 2017.

East is survived by his wife, Carmen, and his two daughters, Ana and Monica.

Texas Gov. Greg Abbott also issued a statement about the shooting late Monday, saying "hearts go out to the family of the police officer killed." Abbott also said he had mobilized state law enforcement resources to aid in the investigation.

Texas Tech is a public research university in the city of Lubbock.