qnli question: In what year did New York become the United States capital? sentence: In 1785, the assembly of the Congress of the Confederation made New York the national capital shortly after the war.