Nine Peruvian miners have been rescued after six days trapped in an informal copper mine.

All nine walked out of the mine without assistance on Wednesday morning through a reinforced tunnel that rescuers had built as they removed more than 26 feet of dirt and rock.

President Ollanta Humala greeted the miners.

Humala had spent the night at the mine 150 miles southeast of Lima.

The miners were trapped by a cave-in triggered by an explosion they themselves had set.

They communicated with rescuers through a hose by which they also received food and medicine during their ordeal in a horizontal shaft dug into a mountainside.