Keumalahayati was killed in combat while defending at Teuluk Krueng Raya from the Portuguese fleet.
The Dutch sought to establish their own empire entering a long conflict with the Portuguese.
In 1600 the Dutch were welcomed by the Acehnese who sought allies against the Portuguese,[1] which made relations with Portuguese strained and sought to punish them for breaking a pact between them before, but the Portuguese also wanted to erect a fort near Aceh, as demonstrated by Philip's letter to Martim Afonso de Castro:[2] And because, according to what has been clear for a long time here about how important it is to build a fortress in Aceh, as well as because, since you are in those lands, you will better understand the need for this, I am certain that you will execute this accordingly.
[4][5] They arrived in June and spotted three Acehnese cargo ships sailing, they were captured,[6] Dom Martim then dispatched an envoy to Aceh demanding its sultan to allow them to establish a fortress.
[9][10] Alarmed by their success, the Acehnese prince Iskandar Muda who was imprisoned at that time after losing a civil war with his father Ali Ri'ayat Syah III, he begged his father to release him and allow him to lead the Acehnese army, which he accepted,[11] under the prince, the Acehnese succeeded in halting the Portuguese attack with two or three attacks and the fighting had lasted for two days, having gained no advantage against Aceh, Dom Martin ordered a withdraw[12][13] upon learning a combined Dutch-Johorese attack on Malacca.