A suspect faces a capital murder charge in the death of a Richardson, Texas, police officer, jail records show.
Brandon De McCall, 26, is being held in the Collin County jail following Wednesday evening's incident.
The slain officer, David Sherrard, was a 14-year veteran of the Richardson department, Chief Jim Spivey said at a press conference Thursday. Sherrard leaves behind his wife and two daughters.
Sherrard died after responding to a shots fired call at an apartment complex.
When they arrived, police found a person suffering from a gunshot wound, Spivey said. While some officers provided first aid, an investigation led others to a nearby apartment.
Upon entry to the apartment, the suspect began firing on the officers, striking Sherrard, Spivey told reporters.
The suspect, who was firing randomly, had barricaded himself inside the apartment, according to CNN affiliate KTVT, prompting a four-hour standoff with police.
Sherrard was taken to a hospital, where he died hours later, Sgt. Kevin Perlich, a spokesman with Richardson police, told CNN.
Other officers were ultimately able to arrest the suspect.
Police in the nearby city of Plano are investigating the incident. They tweeted that the individual found by officers has died. "We ask that along with the officers family, you keep this victims family in your thoughts and prayers also."
CNN has reached out to McCall's attorneys for comment.
Gov. Greg Abbott called the officer's death "a loss to all enforcement and everyone in our great state."