 Though the Bani Khalid were able to forge an alliance with the 'Anizzah tribe in this period, they were eventually defeated by an alliance of several tribes along with the Al Saud, who had reestablished their rule in Riyadh in 1823.A battle with an alliance led by the Mutayr and 'Ajman tribes in 1823, and another battle with the Subay' and the Al Saud in 1830, brought the rule of the Bani Khalid to a close.The Ottomans appointed a governor from Bani Khalid over al-Hasa once more in 1874, but his rule also was short-lived.