 Yosemite Valley was first protected by the federal government in 1864.The Valley and Mariposa Grove were ceded to California in 1866 and turned into a state park.John Muir perceived overgrazing by sheep and logging of giant sequoia to be a problem in the Sierra.