Police were searching Wednesday for four suspects after four teenage students were shot in the shared parking lot of two San Francisco high schools Tuesday, and one of the students was in critical condition, investigators said.

The shooting took place at around 3:20 p.m. Tuesday as students were being dismissed for the day from June Jordan School for Equity and City Arts and Technology High School, which share a campus, San Francisco Police Officer Carlos Manfredi said.  

Three of the students who were shot ran inside the school, and police initially ordered students to stay in place until officers searched each room and determined it was not an active shooter situation. A fourth student hurt in the shooting went to a hospital, Manfredi said.

"One female victim has life-threatening injuries to her upper torso," he said.

San Francisco school officials said two boys suffered non-life threatening injuries and a third boy walked into a police station with a gunshot wound.

Police were searching for four males in connection to the shooting, Manfredi said. They were last seen running away from the area in dark hoodies and jeans.

Classes were resuming Wednesday at both high schools with grief counselors available, Fox 2 reported.

Click for more from Fox 2.