Three young people were wounded, one critically, when gunfire broke out Thursday morning on a residential street near two schools in Southeast Washington, police said.

The incident occurred about 9:30 a.m. near Sixth Street and Alabama Avenue SE in the Congress Heights neighborhood, close to Ballou Senior High School and King Elementary School. Police spokeswoman Gwendolyn Crump did not name the victims but said they were all males ages 16 to 19.

The three apparently were together in the 600 block of Alabama when they were shot, police said. They said one of the wounded teens collapsed at the scene and was taken to a hospital in critical condition.

The other two ran away but were found in the area by police. Their wounds were described as not life-threatening.

Police said Thursday afternoon that “two people have been detained for questioning” in the case but that no charges had been filed.

The motive for the shooting remained unclear. Police are investigating whether there was an exchange of gunfire.

“Unfortunate that it would happen in front of a school,” Police Chief Cathy L. Lanier said, standing near the crime scene. “Especially an elementary school, which is kind of the enraging part of the whole thing, regardless of what was behind somebody deciding to pull out a gun and shoot another person.”

Imagine Southeast Public Charter School in the 3100 block of Martin Luther King Jr. Avenue and King Elementary in the 3200 block of Sixth Street were placed on lockdown after the shooting. Ballou was not.