sentence1: 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.
sentence2: Sri Maharajah was the new ruler of Melaka after a close election.