Washington DC was made the nation's capital after a backroom compromise deal was made for Madison, a Virginia, to get Alexander Hamilton, of New York, the votes he needed to pass a bill wherein the Federal government would subsume the various war debt of the colonies in return for the capital being moved out of the north.
The answer you're looking for is True