Instructions: This task involves annotating the answer type to a given question that involve some kind of complex reasoning (including numerical reasoning). Note that the questions require looking at more than one part of the passage to answer. There are 3 possible answer types (i) spans, (ii) numbers and (iii) dates. If the answer can be found in the passage, label it as "span". If the answer is a number, label as "number". Similarly, label "date" if you think the answer to the given question is a date.
Input: Passage: The War of Jenkins' Ear broke out in 1739 between Spain and Great Britain, but was confined to the Caribbean Sea and conflict between Spanish Florida and the neighboring British Province of Georgia. The War of the Austrian Succession, nominally a struggle over the legitimacy of the accession of Maria Theresa to the Austrian throne, began in 1740, but at first did not involve either Britain or Spain militarily. Britain was drawn diplomatically into that conflict in 1742 as an ally of Austria and an opponent of France and Prussia, but open hostilities between them did not take place until 1743 at Dettingen, and war was only formally declared between Britain and France in March 1744. Massachusetts did not declare war until June 2.
Question: What year did Massachusetts declare war?
Output:
date