HELENA, Mont. — Montana wildlife officials say a 38-year-old mountain biker who was killed by a bear riding just outside Glacier National Park likely collided with the bear before he was attacked, and they have called off the search for the bear.

Wildlife investigator Brian Sommers said in a statement Saturday that he believes Treat was riding at a high rate of speed along a narrow trail and hit the bear. Visibility was limited and investigators believe the collision was unavoidable.

Brad Treat, who was a law enforcement officer with the U.S. Forest Service, was found dead Wednesday by officers at the scene of the mauling. Treat’s riding companion reported the incident and was not attacked.

Investigators are still trying to determine if it was a black bear or a grizzly, and whether it might have been a female protecting her cubs. Investigators have removed cameras that were being used to find the bear, along with traps that were placed in the area.