When was the Treaty of Alliance with France signed?