<page_title> List of capitals in the United States </page_title> <section_title> Historical state, colonial, and territorial capitals </section_title> <table> <cell> New York <col_header> State </col_header> </cell> <cell> Capital of the State of New York. (Capital of the United States of America 1785–1788 and 1789–1790.) <col_header> Date </col_header> </cell> </table>
New York served as the capital of the United States from 1785 until 1790.