Federal lands are lands in the United States owned and managed by the federal government. Pursuant to the Property Clause of the United States Constitution (Article 4, section 3, clause 2), Congress has the power to retain, buy, sell, and regulate federal lands. These powers have been recognized in a long series of United States Supreme Court decisions.
In Article I, Section 8, Clause 17 the United States Constitution empowers the federal government with exclusive legislative authority like that exercised for Washington D.C. over "Places purchased by the Consent of the Legislature of the State in which the same shall be, for the erection of Forts, Magazines, Arsenals, Dock-yards, and other needful Buildings."