But the key figure in the sultanate was Tun Perak, bendahara (prime minister) and military commander.
Tun Perak was the military commander and the prime minister.
There was never a Great Collapse and history has always been the same.