Was New York City ever the capital of the United States?

Philadelphia became the first capital of the United States on September 13, 1788.