Story highlights Portland police say gang task force is investigating

The shooting happened near a school campus in north Portland

Wounded victims ran into a building at the school, police said

Police say the shooter fled the scene accompanied by two other males

[Breaking news update, posted at 5:48 a.m. ET]

A gang task force arrested a man in connection with a Friday shooting near a high school in Portland, Oregon, police said in a statement Saturday.

[Previous story, posted at 3:20 a.m. ET]

Portland police search for shooter after 4 wounded near high school

(CNN) -- Police searched Friday for a man suspected of shooting four young people near a high school in Portland, Oregon, authorities said.

All of the wounded were conscious when medical technicians arrived at Rosemary Anderson High School, police said in a statement. Three of the victims were taken to a local hospital.

One victim, Taylor Zimmers, 16, is in critical condition. Two more, David Jackson-Liday, 20, and Labraye Franklin, 17, are in fair condition.

A 17-year-old girl suffered a grazing wound in the shooting and was treated on the scene.

"All four gunshot victims are affiliated with the school," police said.

The shooting happened around 12:15 p.m. local time not far from the campus in north Portland, police spokesman Sgt. Pete Simpson said.

After being shot, at least three victims ran inside a school building, a caller told authorities.

"I saw him stumble into the school holding his stomach, he said my brother's name and then he fell on the ground," one student told CNN affiliate KATU

The suspect may be affiliated with a gang but it's not known if the shooting was gang-related or "a personal beef," Simpson said. An argument may have preceded the shooting.

The suspect was described as a male in his late teens or early 20s and he was accompanied by two other males in the same age range.

They left the area quickly on foot, Simpson said.

JUST WATCHED Shooting near Oregon high school Replay More Videos ... MUST WATCH Shooting near Oregon high school 02:10

JUST WATCHED Cop: Shooter may be gang-affiliated Replay More Videos ... MUST WATCH Cop: Shooter may be gang-affiliated 01:10

JUST WATCHED Witness describes Oregon shooting scene Replay More Videos ... MUST WATCH Witness describes Oregon shooting scene 02:30

He said the police department's gang task force was investigating. Agents from the FBI and the Bureau of Alcohol, Tobacco, Firearms and Explosives also arrived to assist, he said.

The school system website says Rosemary Anderson High enrolls about 200 at-risk students who "have either been expelled or dropped out of public high school and many are homeless."

All the shooting victims were students at the school or had taken job training or been enrolled in other programs there, Simpson said. The victims were breathing, conscious and talking as they were transported to Legacy Emanuel Medical Center, Simpson said.

The campus was locked down for a while but classes later resumed, Simpson said.

Nearby Jefferson High School and Portland Community College were locked down as police sought the shooter, authorities said, but the lockdown was lifted after a few hours.

A man who said he's the pastor of one of the shooting victims told KOIN that the shooting was "heartbreaking."

"The young man I know attends our church frequently who is, according to my understanding, not involved in any criminal activity, he is a bright young man," said Jason Nelson of Cornerstone Community Church of God in Christ. "You hear about shootings every day and when it comes close to your school it's heartbreaking."