Which state capital once served as the US national capital?

Philadelphia, then the capital of Pennsylvania, was the seat of the US federal government during the Revolutionary War and under the Articles of Confederation.

(New York City was once the US capital as well, but it was not the capital of New York State.)