In 1613 Hanyakrakusuma  rose to the throne of Mataram. He began the eastward conquest by an incursion towards Surabaya's southern flank, the Eastern Salient, Malang, and possibly Pasuruan in 1614. Surabayan forces attacked this Mataram army during its homeward march, but was defeated. In 1615 Agung conquered Wirasaba, personally leading the troops there. Surabaya did not commit its troops to help Wirasaba, due to the fear that its other ally, Tuban, would take advantage, betray Surabaya, and attack it from the rear. The conquest of the strategically important Wirasaba posed such a clear threat to Surabaya and other eastern states that the alliance rallied. They mobilized their troops and marched towards Pajang, a city under Mataram's control but ostensibly on the verge of rebellion. However, a Mataram spy in Tuban deceived the allied forces into taking a bad route towards Pajang. As a result, the allied army found itself isolated in Siwalan, near Pajang. This army was surrounded by Sultan Agung and defeated in January 1616. Agung then won victories in Lasem  and Pasuruan . In 1617 Pajang finally rebelled against Mataram but was defeated, and the lord of Pajang fled to Surabaya. In 1619 Agung conquered Tuban, one of the strongest members of Surabaya's alliance. This conquest put Agung in control of Tuban's shipbuilding activities, and therefore allowed him to build a navy to challenge Surabaya's previous naval supremacy.

Question: Which location was conquered by Agung first, Wirasaba or Tuban?
Answer: Wirasaba

Question: How many years after conquering Wirasaba did Agung conquer Tuban?
Answer: 4

Question: At what location did Agung win a battle in January 1616?
Answer: Siwalan

Question: Which happened last, Hanyakrakusuma rising to the throne or Agung conquered Tuban?
Answer: In 1619 Agung conquered Tuban

Question: Who gained naval supremacy in 1619?
Answer: Agung

Question: What happened when Agung conquered Tuban?
Answer: control of Tuban's shipbuilding

Question: What was the result of Agung controlling Tuban's shipbuilding?
Answer: build a navy

Question: Why were Surabayan troops defeated?
Answer: Mataram spy

Question: Who initially had naval supremacy?
Answer: Surabaya

Question: How many years after Hanyakrakusuma rose to the throne did Agung conquer Wirasaba?
Answer: 2

Question: Who did Agung conquer first, Wirasaba or Tuban?
Answer: Wirasaba

Question: How many years after Agung conquered Wirasaba did Agung conquer Tuban?
Answer: 4

Question: Which city did the army find itself in after being tricked by Tuban, Siwalan or Pajang?
Answer: Siwalan

Question: Who won a battle in 1617, Pajang or Mataram?
Answer: Pajang

Question: Which army won an attack in 1614, Surabayan  or Mataram?
Answer: Mataram

Question: Which victories did Agung achieve?
Answer: conquered Wirasaba

Question: How many years after Agung conquered Wirasaba did he conquer Tuban?
Answer: 4

Question: Which did Agung conquer first, Wirasaba or Tuban?
Answer: Wirasaba

Question: How many years after Hanyakrakusuma rose to the throne of Mataram did he conquer Wirasaba?
Answer: 2