I want to know the answer to the following question:
When was New York City established?
All the background I'm provided with is that "New York served as the capital of the United States from 1785 until 1790.". Is that enough to answer the question?