AP: Las Vegas shooting suspect was a professor who recently applied for a job at UNLV

The man suspected of fatally shooting three people and wounding another at a Las Vegas university Wednesday was a professor who unsuccessfully sought a job at the school, a law enforcement official with direct knowledge of the investigation told The Associated Press.

The gunman was killed in a shootout with law enforcement, police said.

The suspect previously worked at East Carolina University in North Carolina, according to the official, who spoke on the condition of anonymity because they weren’t authorized to release the information publicly.

Police didn’t immediately identify the gunman, the victims or a possible motive.

Reports of shots fired at about 11:45 a.m. sent police swarming onto the campus while students and professors barricaded themselves inside classrooms and dorm rooms.

Police said the shooting started on the fourth floor of the building that houses UNLV’s Lee Business School. The gunman went to several floors before he was killed in a shootout with two university detectives outside the building, said UNLV Police Chief Adam Garcia.

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