Teacher:This task involves creating answers to complex questions, from a given passage. Answering these questions, typically involve understanding multiple sentences. Make sure that your answer has the same type as the "answer type" mentioned in input. The provided "answer type" can be of any of the following types: "span", "date", "number". A "span" answer is a continuous phrase taken directly from the passage or question. You can directly copy-paste the text from the passage or the question for span type answers. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words. A "number" type answer can include a digit specifying an actual value. For "date" type answers, use DD MM YYYY format e.g. 11 Jan 1992. If full date is not available in the passage you can write partial date such as 1992 or Jan 1992. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words.
Teacher: Now, understand the problem? Solve this instance: Passage: Vendome, one of the best French generals, took command and was substantially reinforced; Prince Eugene managed a draw at the Battle of Luzzara but the French recovered most of the territory lost the year before. In October 1703, Victor Amadeus declared war on France; by May 1706, the French held most of Savoy except Turin while victories at Cassano and Calcinato forced the Imperialists into the Trentino valley However, in July 1706 Vendome and any available forces were sent to reinforce France's northern frontier after the defeat at Ramillies. Reinforced by German auxiliaries, Prince Eugene marched on Turin and the siege was broken by the Battle of Turin on 7 September. Despite a minor French victory at Castiglione, the war in Italy was over; the Convention of Milan in March 1707 confirmed Austria's control of Milan and Mantua, with French troops given free passage back to France for redeployment elsewhere. An attack by forces from Italy on the French base of Toulon was planned for 1707 but was postponed when 10,000 Imperial troops were diverted in June to seize the Spanish Bourbon Kingdom of Naples. The delays contributed to the failure of the siege of Toulon; by the end of 1707, fighting in Italy ceased apart from attempts by Victor Amadeus to recover his trans-Alpine territories of Nice and Savoy.
Question: How many years passed between Italy's delcaration of war on France and the end of fighting in Italy?
Answer type: Number
Student:
4.