President Abraham Lincoln signed an Act of Congress on 1 July 1864, ceding the Yosemite Valley and the Mariposa Grove of giant sequoias (later becoming Yosemite National Park) to the state of California. According to this bill, private ownership of the land in this area was no longer possible. The state of California was designated to manage the park for "public use, resort, and recreation". Leases were permitted for up to ten years and the proceeds were to be used for conservation and improvement. A public discussion followed this first legislation of its kind and there was a heated debate over whether the government had the right to create parks. The perceived mismanagement of Yosemite by the Californian state was the reason why Yellowstone, at its establishment six years later, was put under national control.