Washington, Jefferson, and Madison all supported a permanent capital on the Potomac; Hamilton backed a temporary capital in New York City, and a permanent one in Trenton, New Jersey. At the same time, Hamilton's funding proposal, a plan in which the federal government would assume debts incurred by states in waging the Revolutionary War was failing to garner enough support to pass. Jefferson, understanding that Hamilton needed southern votes to pass his funding plan, and keenly aware that the Potomac capital concept would fail without additional northern support, made use of an opportunity provided by an encounter with Hamilton to stage an informal dinner meeting at which interested parties could discuss a "mutual accommodation." The deal subsequently struck, known as the Compromise of 1790, cleared the way for passage, in July 1790, of the Residence Act. The act transferred the federal capital to Philadelphia for 10 years, while a permanent capital along the Potomac was under construction. Hamilton's debt assumption plan became law with the passage of the Funding Act of 1790.