Task: Question Answering
Input (English): Passage: Also in August 1689, 1,500 Iroquois, seeking revenge for Governor General Denonville's actions, attacked the French settlement at Lachine. Count Frontenac, who replaced Denonville as governor general, later attacked the Iroquois village of Onondaga. New France and its Indian allies then attacked English frontier settlements in early 1690, most notably at Schenectady in New York. This was followed up by two expeditions. One, on land under Connecticut provincial militia general Fitz-John Winthrop, targeted Montreal; the other, led by Sir William Phips, targeted Quebec. Winthrop's expedition failed due to disease and supply issues, and Phips was defeated in the Battle of Quebec. The Quebec and Port Royal expeditions were the only major New England offensives of King William's War; for the remainder of the war the English colonists were primarily engaged in defensive operations, skirmishes and retaliatory raids. The Iroquois Five Nations suffered from the weakness of their English allies.:290 In 1693 and 1696, the French and their Indian allies ravaged Iroquois towns and destroyed crops while New York colonists remained passive. After the English and French made peace in 1697, the Iroquois, now abandoned by the English colonists, remained at war with New France until 1701,:291 when a peace was agreed at Montreal between New France and a large number of Iroquois and other tribes. 
Question: How many years had the Iroquois been fighting with the French? 
Answer type: Number 
Output (English): 12.