The Sierras were forming during a modern mountain-building stage of geologic history, with gold-bearing quartz strata as a product of lava flows from this epoch. [1] Pressure and folding transformed sandstone into quartz, shale into slate, and limestone into marble, altering the original character of the deposits. [2]