The Onondagas contend that the State of New York illegally acquired the land in a series of treaties in the late 18th and early 19th centuries and have asked the Federal District Court in Syracuse to declare that they still hold title to the land .