Question: By which year, did New York City become the largest city in the United States?
Sentence: By 1790, New York had surpassed Philadelphia as the largest city in the United States.
Answer in sentence: yes