Raja Muda Hashim
Raja (also Pengiran) Muda Hashim was the uncle of the Sultan
of Brunei, Omar Ali Saifuddin II (1828-1852).
The exact family ties between the Sultan Omar Ali Saifuddin
II and Pengiran Muda Hashim is depicted in the following chart.

On the subject of royal succession, let me quote from Frank
Marryat's book Borneo & the Indian Archipelago: "At the death of the
late sultan, Muda Hassan (sic) was the heir-apparent to the throne, but he
resigned in favour of his nephew, retaining the office of prime minister, which
office he had held during the former reign, not only to the satisfaction of the
sultan, but also of the people, with whom he was deservedly a great
favourite."