Was New York a capital of the United States before Washington DC?
No. New York City served as the temporary capital of the United States from 1785 until 1790, but it was never officially designated as the capital. Philadelphia had served as the capital from 1776 to 1783, and in 1790, Washington D.C. was designated as the permanent capital of the United States.