Complex sentence: Hashim Jalilul Alam Aqamaddin (died 1906) was the 25th sultan of Brunei from 1885 to 1906, formerly known as Pengiran Temenggong Pengiran Anak Hashim.
Split into simpler sentences: Hashim Jalilul Alam Aqamaddin (died 1906) was the 25th sultan of Brunei, holding office from from 1885 to 1906. He was previously known as Pengiran Temenggong Pengiran Anak Hashim.