RALEIGH, N.C. — A North Carolina state trooper searching for people trapped by flood waters in hard-hit Lumberton shot and killed an angry man who confronted officers while holding a gun, authorities said Tuesday.

Lt. Jeff Gordon identified the trooper as Sgt. J.F. Hinson, a 13-year veteran of the patrol.

According to Gordon, Hinson and two members of the Robeson County Sheriff’s Office were driving through about 4 feet of water when they encountered the man on a road within a few hundred feet of Interstate 95 around 8 p.m. Monday.

A statement said the man “became hostile toward the officers and displayed a handgun” before Hinson shot and killed him.

The officers were in a Humvee and the shooting happened in “very difficult circumstances,” Gov. Pat McCrory said at a Tuesday morning news conference.

“Tension can be high when people are going through very, very emotional circumstances,” the governor said, adding he had little additional information.

Gordon said Hinson has been placed on administrative leave, which is typical after a police shooting. The State Bureau of Investigation has been called in to investigate.