The government's unpopularity was further increased by its enthusiasm for the war with France, as peace talks with the French king Louis XIV had broken down over the government's insistence that the Bourbons hand over the Spanish throne to the Habsburgs. The Tories' policy of pursuing peace appealed to a country worn out by constant war. Queen Anne, disliking the Junto and sensing that the government could not survive long, gradually replaced it with a Tory ministry throughout the summer of 1710.