Muhammad Shah of Pahang

Sultan Muhammad Shah ibni Almarhum Sultan Mansur Shah (1455–1475) is the first Sultan of Pahang who reigned from 1470 to 1475. Initially appointed as heir apparent to the Melaka throne by his father, Mansur Shah, he was banished for committing murder following a feud in a Sepak Raga game and went into exile in Pahang, later installed as its first Sultan in 1470.
Early life.
Known as Raja Muhammad before his accession, he is the second son of the sixth Sultan of Melaka, Mansur Shah by his wife Putri Wanang Sri Lela Wangsa, daughter of Maharaja Dewa Sura, ruler of Pahang and a relative of the King of Ligor. Both his mother and grandfather were captured and presented to the Sultan of Melaka after the conquest of Pahang.
Raja Muda of Melaka.
As he is favoured greatly by his father, Raja Muhammad was named as Raja Muda ('heir apparent') to the Melaka throne instead of his elder brother, Raja Ahmad. This hot tempered youth however, brought about his own exile from Melaka when he slew the Bendahara Tun Perak's son for accidentally knocking off his headdress by a misdirected sepak raga ball. At pressure from Bendahara family, Raja Muhammad was stripped of his title and was sent away to Pahang to be its Sultan. This began the Melaka line of royalty on the Pahang throne.
Sultan of Pahang.
Raja Muhammad brought with him the trappings of the Melakan court to Pahang. He had with him Tun Hamzah, the former governor of Pahang as his first Bendahara, Seri Akar Raja as his chief Hulubalang, a Penghulu Bendahari ('chief treasurer'), a Temenggong and 100 boys and 100 girls of noble family. He was duly installed as Sultan Muhammad Shah in the year 1470.
The boundaries of his kingdom stretched from Sedili Besar to the borders of Terengganu. There was evidence to show he settled at Tanjung Lanngar which was the old seat of the former Pahang princes. Muhammad Shah was married to Princess Mengindra Putri, the grand daughter of Iskandar Shah, Sultan of Kelantan. He died on 17 September 1475 and was buried at Langgar, Dusun Pinang, Pahang. He is styled as "Marhum Langgar" thereafter and succeeded by his elder brother, Raja Ahmad.