Original: New York City remained home to Congress until July 1790, Allen (/O2001/O), p. 4 when the Residence Act was passed to pave the way for a permanent capital.
Simplified: A capital is a city that is home to a government.