The act for the Yosemite Grant was signed into law by President Abraham Lincoln. Ceding the land to the state of California for preservation, the grant was the first of its kind. The legislation was to protect Yosemite Valley and the Mariposa Grove of Giant Sequoias for "public use, resort, and recreation ... to be left inalienable for all time."