[1] When his father and grandfather died in rapid succession in 1870, the throne went to a prince from another branch, Alauddin Mahmud Syah II.
Three days later the commanding general Jan van Swieten declared Aceh's inclusion in the Netherlands Indies state territories, believing the war had come to an end.
Among the most important resistance fighters was Teungku Chik di Tiro who gained the sultan's trust and received a royal seal.
These strategies slowly gave effect and the sultan and Panglima Polem had to move further towards the north-west coast of Aceh to avoid capture.
True to the traditions of his house, he sought and still seeks diversion in lawful and unlawful love, drink, fiddling, fights of animals, gambling and the pursuit of elephant and deer.
The sultan was described as a cheerful and handsome man with a royal demeanour towards his chiefs, while at the same time being polite and attentive towards the people with whom he came in contact.
He appealed to Russia to grant the sultanate protectorate status and aid it in repelling the Dutch East India Company.
The well-known resistance fighter Teuku Umar was appointed sea commander (amirul bahri) of the west coast by the sultan but made a deal with the Dutch in 1893 and began to actively fight the Acehnese troops.
This, together with other factors such as the influence of his wife Cut Nyak Dhien, caused Teuku Umar to return to the sultan's party after a short while.
After a bloody defeat at Batei Ilie in 1901, the sultan and Panglima Polem fled to the Gayo highlands where the Dutch troops had not yet set foot.
This presented a dilemma for Van Heutsz who had previously agreed with his main political advisor Christiaan Snouck Hurgronje that the sultan should be ignored and that consequently no negotiations should take place with him.
After instructing his principal chiefs to keep on fighting, the sultan met with the Dutch in the forest of Merasa Ië Leubeuë on 10 January 1903 and was taken to Kutaraja.
Van Heutsz arranged for a highly publicized ceremony of surrender where a life-size photo of Queen Wilhelmina was displayed in the hall, and he received the sultan from a podium.