I want to know the answer to the following question:
By which year, did New York City become the largest city in the United States?
All the background I'm provided with is that "By 1790, New York had surpassed Philadelphia as the largest city in the United States.". Is that enough to answer the question?