For five years New York City served as a capital.
New York served as the capital of the United States from 1785 until 1790 .	New York	New York (state)	United States	United States	capital of the United States	List of capitals in the United States#Former national capitals
