Upon Sultan Ali's death in Umbai, Malacca in 1877, his 11-year-old youngest son, Tengku Mahmood, was named his successor, fuelling anger and dissatisfaction of his oldest son, Tengku Alam Shah.
The prosperity and rapid development of Muar made it the only town in Malaysia ever to have had its own local railway network in the early days.