She only started bearing children when the Sultan guaranteed her son will succeed him as ruler of Malacca. Fatimah eventually bore the Sultan two Princes and two Princesses. Mahmud had his eldest son, Ahmad Shah, with his first wife Tun Teja, who succeeded him while Fatimah's sons were still minors.