The tribe contends that the State of New York illegally acquired the land in a series of treaties between 1788 and 1822 and has asked the Federal District Court in Syracuse to declare that it still holds title to the land , which is now home to hundreds of thousands of people and includes all or part of 11 counties .