The Inalids (the sons of İnal or Yinal, Turkish: İnaloğulları or Yinaloğulları) was the name of a small beylik (principality) which reigned in a small territory around Amid (modern Diyarbakır of Turkey) between 1098–1183.
In 1095, the governor of the city of Amid (modern Diyarbakır) was a Turkmen lord (Turkish: bey) named Sadr.
Although Zangids defeated Ilaldı in the battle, they weren't able to capture the city.
After Ilaldı's death in 1142, the beylik had to accept the suzerainty of Artukids who captured most of its territory.
On 9 May 1183, the Artukids who allied with Saladin captured Amid and put an end to the beylik.