# Muzaffar Shah I of Perak

Paduka Sri Sultan Muzaffar Shah I ibni Almarhum Sultan Mahmud Shah (1505–1549) was the first Sultan of Perak from 1528 to 1549.

## Life
### Early years

Raja Muzaffar was born in 1505, the son of Mahmud Shah of Malacca and Putri Onang Kening, daughter of Mansur Shah of Kelantan.
When the Malacca Sultanate fell to the Portuguese Empire in 1511, Mahmud Shah, his wife, children, and entourage retreated to Ulu Muar. Then to Pahang and then to Pulau Bintan, Riau, and ruled there. While in Pulau Bintan, Raja Muzaffar was married to Tun Terang. Tun Terang was the stepdaughter of Sultan Mahmud Shah and the daughter of Tun Fatimah and her first husband Tun Ali. Raja Muzaffar and his wife had a son named Raja Mansur, the future Sultan of Perak.
Mahmud Shah was defeated by the Portuguese in 1526. He later retreated to Kampar in Sumatra. When he died in Kampar around 1528, Raja Ali succeeded him. Raja Muzaffar was driven out by the Bendahara and the chiefs, so he with his wife and a son named Raja Mansur left Kampar, stopped in Klang, then went to Perak.

### Reign

Raja Muzaffar was appointed by the people of Perak as the first Sultan of Perak. That is the story of the first Sultan of Perak as mentioned in the Malay Annals. However, the story is different according to the Sejarah Raja Perak. At the time of Mahmud Shah's residence in Kampar, Perak was not a sultanate. The people of Perak sent their representatives, namely Tun Saban and Nakhoda Kasim to Kampar to meet Mahmud Shah. The purpose of this was to request Raja Muzaffar become Sultan of Perak because Perak was under the rule of the Malacca Sultanate since Mahmud Shah ruled it again. Mahmud Shah accepted and his prince, Raja Muzaffar, was ordered to go to Perak to become sultan. From Kampar, Raja Muzaffar then went to Klang to visit his family. From Klang with the guidance of Nakhoda Tumi who came from Manjong, Raja Muzaffar continued his journey to Perak. The arrival of Raja Muzaffar to Perak was welcomed at Beting Beras Basah and he was taken home via the Perak river to enter Perak. Raja Muzaffar was later installed as the first Sultan of Perak with the title of Sultan Muzaffar Shah in Tanah Abang which is located in the Lambor Kanan area.
In the Malay Annals, it is stated that Muzaffar Shah I had invited Tun Mahmud, son of Tun Isap Berakah, from Selangor to come to Perak. Tun Mahmud was later made the first Bendahara in Perak. Afterwards, Tun Mahmud was summoned by Sultan Alauddin Riayat Shah II who ruled Johor at the request of the Bendahara of Johor and his father, Tun Isap Berakah.
According to the Sejarah Raja Perak, not long after Muzaffar Shah I ascended to the throne of Perak, conflict began to arise between him and Tun Saban. This is because Tun Saban did not want to give his daughter, Tun Merah, to be the wife of Muzaffar Shah I. Muzaffar Shah I then ordered his servants to take Tun Merah down to the palace until the outbreak of war.
A war broke out between Muzaffar Shah I and Tun Saban. Muzaffar Shah I then offered the title of Bendahara of Perak to anyone who could kill Tun Saban. Megat Terawis, the son of Megat Terawan of Pagaruyung by a concubine, who went to Perak together with Muzaffar Shah I from Kampar accepted the Sultan's offer. During the war, Megat Terawis succeeded in killing Tun Saban and Muzaffar Shah I appointed him as the Bendahara of Perak by replacing Tun Mahmud who had gone to Johor. Since then, the position of Bendahara of Perak was held by the descendants of Megat Terawis until the reign of Sultan Iskandar Zulkarnain, the fifteenth sultan of Perak. After Tun Saban died, Perak was then handed over to the rule of Muzaffar Shah I whose center of government was in Tanah Abang.

## Death

Sultan Muzaffar Shah I ruled Perak from 1528 until 1549 when he died after 21 years of rule and was buried in Tanah Abang.