The Malay Annals tell a story of Tun Teja, a daughter of Bendahara of Pahang famed for her beauty who was betrothed to the Pahang Sultan. A Melakan envoy to Pahang, on his return to his country, spread the fame of Tun Teja's beauty. Sultan Mahmud, enamoured of the picture of Tun Teja as presented to him by his chief, promised any reward, however great, to the man who would abduct the Pahang girl and bring her to Melaka.