By the outbreak of the American Revolutionary War, Savannah had become the southernmost commercial port in the Thirteen Colonies. British troops took the city in 1778, and the following year a combined force of American and French soldiers, including Haitians, failed to rout the British at the Siege of Savannah. The British did not leave the city until July 1782. In December 1804 the state legislature declared Milledgeville the new capital of Georgia.