In the early 18th century Detroit became an important fur-trading post. In 1760, during the French and Indian War, it was surrendered to the British. France’s Indian allies, notably the Ottawa under Chief Pontiac, tried to capture the fort in 1763 but were defeated. The Jay Treaty (November 19, 1794) provided for the evacuation of the U.S. control. In 1805 Detroit became the capital of the newly created Michigan Territory. In that same year a fire destroyed many buildings, and the town had to be rebuilt. Soon after the outbreak of the War of 1812, Detroit was again surrendered to