At beginning of the 20th century, the railway line was built from the harbor of Sfax to the mining town of Métlaoui. The mining companies decided that to extend that line to the Redeyef plateau. The railway line was laid in the gorge crossing the mountain range.