This is the first police officer death in Texas this year.
A Dallas police report says he was taken to a mental health facility past year after threatening to jump off a bridge and telling officers that he wanted to be taken to a doctor and "put to sleep permanently", according to KTVT-TV in Dallas.
He was rushed away in an ambulance but has since been taken to the Collin County Jail and charged with capital murder of a peace officer or fireman.
Perlich said the gunman, whose name has not been released, surrendered. Sherrard was transported to Medical City Hospital in Plano and later died from his injuries.
Chief Spivey also said today was the hardest day his department ever had. When they arrived at the scene, officers were fired upon, which is when Sherrard was struck in the neck. Sherrard was a veteran of the force for more than a dozen years and was a married father with two daughters.
Police soon located the alleged gunman at the apartment complex, and he barricaded himself in an apartment unit, still firing a weapon, apparently at random. It was later reported that the police have managed to take the suspect into custody.
Police originally responded to calls about a disturbance at the Breckinridge Point Apartments on East Renner Road around 7:30 p.m. Wednesday.
A Richardson police officer was killed in the line of duty Wednesday evening, Richardson police confirmed on Twitter. A standoff ensued with a suspect, who was identified by authorities as Brandon De McCall, 26. Plano police told the Dallas Morning News that Gamez lived in the apartment complex.
A Richardson police cruiser served as a makeshift memorial for Sherrard with people leaving flowers and other items Thursday. Dallas News reported McCall has a police record, which included possession of a controlled substance in 2017.