 After Malacca fell to Portugal in 1511, it seemed that it was mainly Tun Fatimah's work that expanded the new Malay Johor-Riau from Johore and the Riau islands to parts of Sumatra and Borneo.The Malaccan Sultan's power was almost restricted to a figurehead.Tun Fatimah created an alliance with neighbouring kingdoms by letting her children marry the royal families of Aceh, Minangkabau and Borneo.