SHARE 6 COMMENTMORE

TOWN OF BOSTON, N.Y. -- A man survived a fall into a ravine in the woods off Boston State Road late Saturday night.

The Erie County Sheriff's Office received a call just before midnight that a man got separated from his friends and was possibly in the ravine.

Police and rescue teams from across Erie County spent two hours searching for him.

Before rescuers got to him, officials say the man was able to make his way out of the ravine and to the State Police barracks in Boston.

"Where he was pinged is at a ravine that's possibly 100 feet down and a field of about 140 acres," Chief Joseph Gallagher of the Patchin Fire Company said. "As you can tell, it's about 18 degrees... the coldness did play a factor in trying to locate him."

Officials believe the man may have suffered from hypothermia. His name has not been released.