They form the basement on which later sediments were deposited. The Lewisian consists mainly of granitic gneisses. Rocks of the Lewisian complex were caught up in the Caledonian orogeny, appearing in the hanging walls of many of the thrust faults formed during the late stages of this tectonic event.