 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.As queen consort, Tun Fatimah made sure those who slandered her father and family were executed.