When Madison was re-elected in 1812 the discontent in New England intensified. In late 1813 Madison signed a more restrictive embargo act than any of those approved by Jefferson, this time prohibiting all trade between American ports (the coastal trade) and fishing outside harbors. By the summer of 1814, the war had turned against the Americans. After ending their war with Napoleonic France, Great Britain was able to marshal more resources to North America and had effectively blockaded the entire eastern coastline. Territory in the Maine district of Massachusetts was occupied in July, in August the White House and Capitol were burned, and by September the British were advancing further in Maine and the Lake Champlain area of New York. A naval assault on Boston was expected in the near future. Free trade with the rest of the world had virtually ceased, thousands were thrown out of work, and by August banks were suspending specie payment. The federal government was approaching bankruptcy.