A person with a gun who authorities say was making threats in Yellowstone National Park died after a shootout with park rangers, officials said in a statement Thursday.

Authorities had responded to a report of an individual with a firearm “who was making threats” at Canyon Village in the central part of the park, officials said.

When the park rangers contacted the suspect, there was “an exchange of gunfire” between the person and law enforcement rangers, park officials said. The suspect died during the incident. Authorities have not released the person’s identity.

One law enforcement ranger was injured in the shooting, the statement said, and was taken to a hospital where the ranger is in stable condition.