LAS VEGAS >> A gunman who killed three faculty members at the University of Nevada, Las Vegas, before dying in a shootout with police, did not appear to be targeting students, according to two law enforcement officials with direct knowledge of the investigation.

Terrified students and professors cowered in classrooms and dorms as the gunman roamed UNLV’s Lee Business School on Wednesday and opened fire just before noon on the fourth floor, where faculty and staff offices for the accounting and marketing departments are located. A fourth person was critically wounded in the shooting, police said.

No students were killed in the shooting and all victims were faculty members, school officials announced Thursday on X, formerly Twitter.

The school identified two of the victims who died as business school professors Patricia Navarro-Velez and Cha Jan “Jerry” Chang. The school said the third victim, also a faculty member, will be identified after relatives have been notified, while a fourth faculty member remained hospitalized Thursday.

Accounting professor Navarro, 39, held a Ph.D. in accounting and was currently focused on research in cybersecurity disclosures and data analytics, according to the school’s website.

Chang, 64, was an associate professor in the business school’s Management, Entrepreneurship & Technology department and had been teaching at UNLV since 2001. He held degrees from Taiwan, Central Michigan University and Texas A&M University, according to his online resume. He earned a Ph.D. in management information systems from the University of Pittsburgh.

Authorities haven’t identified the attacker, the type of weapon used or a motive. But one of the law enforcement officials said the gunman was a longtime business professor who had unsuccessfully sought a job at UNLV before the shooting. The other law enforcement official identified the suspect as Anthony Polito, 67. Both officials spoke to The Associated Press on the condition of anonymity because they weren’t authorized to release the information publicly.

Investigators searched an apartment in nearby Henderson, Nevada, late Wednesday as part of the investigation and retrieved several electronic devices, including Polito’s cellphone, one of the officials said.

Polito was a professor in North Carolina at East Carolina University’s Department of Marketing and Supply Chain Management from 2001 to 2017, according to a statement released Thursday by the school. He resigned in January 2017 as a tenured associate professor.

One of Polito’s former students at East Carolina University, Paul Whittington, said Polito went on tangents during class about his many trips to Las Vegas. Polito told his students he visited twice yearly, staying in different hotels and going to various clubs, Whittington said.

“He was really, really, really fixated on the city of Las Vegas,” Whittington said. “I think he just really liked going there.”

Polito also seemed obsessive over anonymous student reviews at the end of each semester, Whittington said. Polito told Whittington’s class that he remembered the faces of students who gave him bad reviews and would express that he was sure who they were and where they sat, pointing at seats in the classroom, Whittington said.

“He always talked about the negative feedback he got,” said Whittington, now 33, who took Polito’s intro to operations management class in 2014. “He didn’t get a lot of it, but there would always be one student every semester, or at least one student every class, that would give a negative review. And he fixated on those.”

After opening fire, the gunman went to several other floors of the business school before he was killed in a shootout with two university police detectives outside the building, which is next to the university’s student union, UNLV Police Chief Adam Garcia said.

Authorities gave the all-clear about 40 minutes after the first report of an active shooter.

It wasn’t immediately clear how many of the school’s 30,000 students were on campus at the time, but McMahill said students had been gathered outside the building and the student union to eat and play games. If police hadn’t killed the attacker, “it could have been countless additional lives taken,” he said.