A 17-year-old Woodbridge male was arrested Friday in connection with a shooting last month at a high school in Prince William County, Va., county police said.

Two teenagers were shot and wounded Aug. 27 in the parking lot of Freedom High School in Woodbridge. A subsequent investigation found that two groups of individuals were involved in a fight there, police said.

Police said one group, which included the suspect, demanded and then took money from those in the other group. The suspect shot into a nearby crowd, striking a 15-year-old boy in the lower body and a 14-year-old girl in the foot. Their wounds were not life-threatening, police said, adding that neither victim was involved in the original altercation.

The suspect, whom police did not identify, was arrested in North Carolina by members of the U.S. Marshals Fugitive Task Force. He will remain there until he is extradited to Virginia, police said.

He is charged with one count of aggravated malicious wounding, one count of attempted aggravated malicious wounding, two counts of the use of a firearm in commission of a felony, one count of robbery, one count of discharging a firearm in a public place, and one count of assault by mob.

A football game was scheduled at the school at 7 p.m. that evening between Freedom and Brooke Point, a high school in Stafford, Va.