Geology
Further information: Geology of the Yosemite area and Geology of the Sierra NevadaWhen the North American Plate on its slow journey westwards encountered the Pacific Plate approximately 250 million years ago during the Paleozoic, the latter began to subduct under the North American continent. Intense pressure underground caused some of the Pacific Plate to melt, and the resulting upwelling magma pushed up and hardened into the granite batholith that makes up much of the Sierra Nevada. Extensive layers of marine sedimentary rock that originally made up the ancient Pacific seabed were also pushed up by the rising granite, and the ancestral Merced River formed on this layer of rock. Over millions of years, the Merced cut a deep canyon through the softer sedimentary rock, eventually hitting the hard granite beneath. The encounter with this resilient rock layer caused the Merced River to mostly stop its downcutting, although tributary streams continued to widen the ancient canyon.
Over about 80 million years, erosion caused the transportation of massive amounts of alluvial sediment to the floor of the Central Valley, where it was trapped between the California Coast Range on the west and the Sierra Nevada on the east, forming an incredibly flat and fertile land surface. The present-day form of the upper Merced River watershed, however, was formed by glaciers, and the lower watershed was indirectly but significantly affected.
When the last glacial period or Ice Age arrived, a series of four tremendous valley glaciers filled the upper basin of the Merced River. These glaciers rose in branches upstream of Yosemite Valley, descending from the Merced River headwaters, Tenaya Canyon and Illilouette Creek. Tenaya Canyon was actually eroded even deeper by an arm of the Tuolumne Glacier, which formed the Grand Canyon of the Tuolumne and Hetch Hetchy Valley on the Tuolumne River in the north. Little Yosemite Valley formed as a result of the underlying rock being harder than that below the Giant Staircase, the cliff wall containing Vernal Fall and Nevada Fall. These three branches of each glacier combined to form one large glacier about 7,000 feet (2,100 m) thick at maximum, stretching 25 miles (40 km) downstream past the mouth of Yosemite Valley, well into Merced Canyon. These glaciers formed the granite cliffs that now constitute landmarks such as Half Dome, El Capitán, and Cloud's Rest.
The first and largest glacier was the Sherwin or Pre-Tahoe glacier, which eroded the upper Merced watershed to an extent close to its present form. Three stages followed during the Wisconsinian glaciation; these were the Tahoe, Tenaya and Tioga stages, of which the Tioga was the smallest. The Tioga glacier left at the mouth of Yosemite Valley a rocky moraine. This moraine was actually one of several moraines deposited by the four glaciations, which include Medial Moraine and Bridalveil Moraine. After the Tioga Glacier retreated this moraine formed a lake that flooded nearly the entire valley. Gradual sedimentation filled Lake Yosemite, creating a broad and flat valley floor. Sediments of glacial origin continued to travel down the Merced River following then, helping to form the flat floor of the Central Valley.
Read more about this topic: Merced River