The new ruler of Melaka , Sri Maharajah , switched his allegiance to the Muslim trading fraternity by marrying into the Muslim faith , wedding the daughter of a sultan in Sumatra .
Sri Maharajah was the new ruler of Melaka .