 Complete the following phrase:  The sultanate has its origin as a vassal to Melaka, with its first Sultan was a Melakan prince, Muhammad Shah, himself the grandson of Dewa Sura, the last pre-Melakan ruler of Pahang. Over the years, Pahang grew independent from Melakan control and at one point even established itself as a rival state to Melaka until the latters 