When was the Treaty of Alliance with France rejected?