The Kaga Rebellion or Chokyo Uprising was a large-scale revolt in Kaga Province , Japan, in late 1487 through 1488. Togashi Masachika, who ruled Kaga Province as shugo, had been restored to power in 1473 with aid from the Asakura clan as well as the Ikko-ikki, a loose collection of lesser nobility, monks, and farmers. By 1474, however, the Ikko-ikki grew discontent with Masachika, and launched some initial revolts, which were easily quelled. In 1487, when Masachika left on a military campaign, between one hundred thousand and two hundred thousand Ikko-ikki revolted. Masachika returned with his army, but the Ikko-ikki, backed by several disaffected vassal families, overwhelmed his army and surrounded him in his palace, where he committed seppuku. The former vassals of Masachika granted the position of shugo to Masachika's uncle Yasutaka, but over the next several decades, the Ikko-ikki increased their political hold on the province, which they would effectively control for almost a century.

Answer this question based on the article: How many years after Togashi Maschika had been restored to power did he leave on a military compaign?
14