An early morning fight between two groups of students escalated into gunfire in the parking lot outside an Arizona university dormitory, leaving one student dead and three others wounded, authorities said Friday.

The suspected shooter, identified by police as 18-year-old Steven Jones, was in custody, said Northern Arizona University Police Chief JT Fowler.

Fowler said all of the victims are male.

The parking lot where the shooting happened is just outside Mountain View Hall dormitory at the northeast side of the Flagstaff campus, said school public relations director Cindy Brown.

The dorm is home to many of the campus' sororities and fraternities, according to the school's website.

"This is not going to be a normal day at NAU," said school president Rita Cheng. "Our hearts are heavy."

Student Maria Gonzalez told The Associated Press that she at first suspected firecrackers.

"I was studying for an exam so I looked out the window and see two people running, and that's when I realized they weren't fireworks they were actually gunshots," she said.

The first police call about the gunfire came in at 1:20 a.m. PDT.

On its website, the university said that the campus was stabilized and the campus was not on lockdown.

"How am I supposed to feel safe where I'm learning," Gonzalez said.

Brown said the wounded were taken to Flagstaff Medical Center, which said it couldn't release any information on conditions.

Both university and Flagstaff police are investigating.

In a statement, Arizona Sen. John McCain called the shooting a "terrible tragedy."

"My thoughts and prayers are with families of the person who was killed and the three others who were wounded in the horrific shooting on the campus of Northern Arizona University in Flagstaff early this morning," McCain said.

The Flagstaff shooting comes on the same day that President Obama is scheduled to visit Roseburg, Oregon, where eight students and a teacher were shot and killed last week at Umpqua Community College. The gunman in the Oregon shooting wounded nine others before turning the gun on himself.

NAU plays a major role in the northern Arizona city of Flagstaff.

The 4-year public university has more than 25,000 total undergraduates.