 In 1403 or 1415 (under Emperor Dawit I or Emperor Yeshaq I, respectively), a revolt of Ifat was put down during which the Walashma ruler, Sa'ad ad-Din II, was captured and executed in Zeila, which was sacked.After the war, the reigning king had his minstrels compose a song praising his victory, which contains the first written record of the word "Somali".Upon the return of Sa'ad ad-Din II's sons a few years later, the dynasty took the new title of "king of Adal," instead of the formerly dominant region, Ifat.