Given the task definition and input, reply with output. 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.

Passage: After a series of Mongol invasions of Korea between 1231 and 1281, Goryeo signed a treaty in favor of the Mongols and became a vassal state. Kublai was declared Khagan of the Mongol Empire in 1260 and established his capital at Khanbaliq in 1264. Japan at the time was ruled by the Shikken of the Hojo clan, who had intermarried with and wrested control from Minamoto no Yoriie, shogun of the Kamakura shogunate, after his death in 1203. The inner circle of the Hojo clan had become so preeminent that they no longer consulted the council of the shogunate ), the Imperial Court of Kyoto, or their gokenin vassals, and made their decisions at private meetings in their residences ). The Mongols also made attempts to subjugate the native peoples of Sakhalinthe Ainu, Orok, and Nivkh peoplesfrom 1260 to 1308.
Question: Who had controlled Japan prior to the Hojo clan?
span