The 22-year-old hiker was taken to a hospital with a head injury.