Indravarman II was succeeded by Jayavarman VIII (reigned 1243–1295). In contrast to his predecessors, Jayavarman VIII was a follower of Hindu Shaivism and an aggressive opponent of Buddhism, destroying many Buddha statues in the empire and converting Buddhist temples to Hindu temples. From the outside, the empire was threatened in 1283 by the Mongols under Kublai Khan's general Sogetu (sometimes known as Sagatu or Sodu), who was the governor of Guangzhou, China. The king avoided war with his powerful opponent, who ruled all of China, by paying annual tribute, starting in 1285. Jayavarman VIII's rule ended in 1295 when he was deposed by his son-in-law Srindravarman (reigned 1295–1309). The new king was a follower of Theravada Buddhism, a school of Buddhism that had arrived in southeast Asia from Sri Lanka and subsequently spread through most of the region.