A disgruntled former employee opened fire in an Anchorage hotel and killed a manager, setting off a four-hour search that ended with the gunman's arrest, authorities said early Sunday.

Kerry Fadely, 55, died in the shooting that occurred shortly after 6 p.m. Saturday at the Millennium Alaskan Hotel, police spokesman Lt. Dave Parker said.

Police locked down the hotel and carried out a room to room search. Police also surrounded the suspect's residence.

Victor Rodriguez Flores, 45, was arrested nearly four hours after the shooting near his home, located in the hotel neighborhood.

Sgt. Joe Masten told The Associated Press that the shooter was a disgruntled former employee who had been fired. He said the female manager was shot in a hotel kitchen.

Police said Fadely had been the suspect's supervisor until his dismissal a week ago.

Rodriguez Flores was charged with first-degree murder, Parker said.

He said some hotel employees witnessed the shooting and quickly identified the suspect for police.

Parker said hotel guests were asked to remain in their quarters and were evacuated as police methodically searched the building.

There were no reports of any other injuries.