Until the 1990s, it was widely believed that the earliest Mamluks were known as Ghilman or Ghulam. and were bought by the Abbasid caliphs, especially al-Mu'tasim (833–842).