(CNN) -- A 5-month-old boy was left partially buried in the mountains of Montana for at least nine hours before being discovered by a Missoula County sheriff's deputy.
The deputy heard the "faint cry of a baby" during the search and followed the sound, only to find the boy alive early Sunday, facedown, buried under a pile of sticks and debris, a statement from the sheriff's office said.
The infant was clothed only in a wet and soiled onesie, the statement said. The sheriff's office estimated that authorities spent more than six hours searching for the boy late Saturday and early Sunday.
The child has minor scrapes and bruises, according to CNN affiliate KPAX, but remains in good condition. The baby was placed in the custody of the Montana Child and Family Services Division.
The child had been in the care of Francis Carlton Crowley, 32, on Saturday, according to the sheriff's office statement. That night, deputies received calls reporting a man who was acting strangely in the Lolo Hot Springs area.
As deputies headed to the scene, additional calls came in saying the man was threatening people and saying he had a gun, the statement said, and was reaching in his pockets.
Crowley left the area before deputies arrived, but they learned that the baby who was supposed to be with him hadn't been seen for hours.
Crowley returned to the hot springs and was apprehended by police, the statement said. As deputies tried to question him, Crowley appeared to be under the influence of drugs and was not making sense to officers, it said.
Crowley made statements to officers saying the baby was possibly buried in the mountains.
Crowley has been charged with criminal endangerment, according to the Missoula County jail roster. He is scheduled to appear in court Tuesday, KPAX reported.
It was not clear if Crowley has been assigned an attorney as of Monday, according to the Missoula County attorney's office.
Crowley is a fugitive from Oregon, according to Dylan Arthur, executive director for the parole board in Oregon. Crowley was under post-prison supervision for several counts of burglary and one count of criminal mischief.
™ & © 2018 Cable News Network, Inc., a Time Warner Company. All rights reserved.