HENDERSON, Ky.  A man who worked at a Henderson plastics company called his girlfriend from the plant about two hours before he fatally shot five people and then killed himself and told her that he was going to kill his supervisor, police officials said at a news conference on Wednesday.

The man, Wesley Neal Higdon, had been reprimanded for talking on his cell phone while working at the Atlantis Plastics plant and failing to wear safety glasses. Earlier that evening, he had fought with a co-worker, Joshua Hinojosa. His supervisor, Kevin Taylor, ordered him to leave the building about midnight Wednesday.

Outside, Mr. Higdon fatally shot Mr. Taylor, before going back inside and shooting four employees in the plant’s break room,” Sgt. John Nevels of the Henderson Police Department said at the news conference.

Mr. Higdon then tracked down Mr. Hinojosa in the factory and shot him in the head, before committing suicide.