Task: Question Answering
Input (English): Passage: On 6 June, Philip had announced his renunciation of the French throne; the British Tory government now offered the Dutch a revised Barrier Treaty, replacing that of 1709 which they rejected as overly generous. It was a significant improvement on the 1697 Barrier but ultimately subject to Austrian approval and the final terms were less beneficial.Charles withdrew from the Conference when France insisted on a guarantee that Austria would not seek to acquire Mantua or Mirandola; he was supported by George, Elector of Hanover, who wanted France to withdraw their support for the Stuart heir James Francis. This meant neither Austria or the Empire signed the Treaty of Utrecht of 11 April 1713 between France and the other Allies; Spain made peace with the Dutch in June, then Savoy and Britain on 13 July 1713. Fighting continued on the Rhine but Austria was financially exhausted and after the loss of Landau and Freiburg in November 1713, Charles came to terms. The Treaty of Rastatt on 7 March 1714 confirmed Austria's gains in Italy, returned Breisach, Kehl and Freiburg, ended French support for the Hungarian revolt and terms for the Dutch Barrier fortresses. France acquired Strasbourg and Alsace while Charles agreed to reinstate the Wittelsbach Electors of Bavaria and Cologne, Max Emmanuel and Joseph Clemens. On 7 September, the Holy Roman Empire joined the agreement by the Treaty of Baden; although Catalonia and Majorca were not finally subdued by the Bourbons until June 1715, the war was over. 
Question: How many years passed between the 1697 Barrier and the revised Barrier Treaty of 1709? 
Answer type: Number 
Output (English): 12.