A Tennessee man was airlifted out of Rocky Mountain National Park Saturday morning after a boulder fell on his leg and he spent the night with rescuers waiting for more aid, the park said.

The 19-year-old man was backpacking with two friends at 8:30 p.m. Friday near the East Inlet Trail on the west side of the park, about 3.5 miles from the trailhead. As they explored, a large boulder fell on the man’s leg.

The man’s friends freed him from the rock, and a search-and-rescue team reached him at about 11:30 p.m. He was found in “steep terrain,” and the 15-member team stayed with him throughout the night, giving medical aid.

The man’s injuries led park rangers to call in help from the Colorado High-Altitude Army National Guard Aviation Program to hoist the man up, which happened at 8:15 a.m. He was ultimately taken to Middle Park Medical Center.