Updated

A drive-by shooting in a Phoenix suburb has left a 7-year-old girl dead days before her birthday following an altercation between her mother's boyfriend and another man who was arrested hours later, authorities said Thursday. 

Terriance D. Armstrong Jr., 29, was taken into police custody on charges of homicide, drive-by shooting, aggravated assault, prohibited possessor, endangerment, unlawful discharge of a firearm and possession of narcotics for sale, the Glendale Police Department said. 

Officers police officers responded to a ShotSpotter alert, a gunshot detection system, just after midnight Thursday near 65th Avenue and Bethany Home Road. Once at the scene, officers found a shell casing in the street, police said.

Ten minutes later, the police department received a call from a male saying a girl had been shot and that they were at a hospital. 

ARIZONA POLICE K-9 TRACKS DOWN MAN ACCUSED OF SEXUALLY ASSAULTING WOMAN ON LIGHT RAIL: ‘YOU CAN’T HIDE'

Terriance D. Armstrong Jr., 29,  (Glendale Police Department)

When officers arrived at the hospital, they discovered the girl was shot multiple times and had died from her injuries, authorities said. The victim was initially identified by police as being 7 years of age before authorities made the correction Thursday evening. 

Investigators believe she was inside a vehicle with her mother and five-year-old sister. They had just traveled to a business parking lot area near 6600 West Bethany Home Road to pick up the mother's boyfriend before shots rang out.

Just as they had arrived, the boyfriend had exchanged words with someone inside another vehicle, police said. 

The boyfriend got in the vehicle with his girlfriend and two children inside and they drove off. As they pulled away, the suspect vehicle followed and someone inside opened fire a short time later, police said. 

The 7-year-old girl was struck several times and the suspect vehicle fled the area. The mother then drove to the hospital, authorities said. No one else inside the victim's vehicle was injured. 

In a statement, Glendale Mayor Jerry Weiers offered his condolences and prayers to the victim's loved ones. 

"It's tragic when these types of events happen, especially to the most innocent," he said. 

Armstrong's vehicle was identified as a vehicle of interest and was found by detectives Thursday morning, police said. He was later detained in Phoenix by Glendale detectives with assistance from a U.S. Marshals task force. Several people were interviewed and Armstrong allegedly admitted to getting into an argument with a man and firing his handgun at the victim's vehicle. 

CLICK HERE TO GET THE FOX NEWS APP  

Investigators also found evidence related to the killing along with 3,000 fentanyl pills, police said.