In Ṣafar 1334/December 1915, ʿAbd al-ʿAzīz and the British political resident in the Persian Gulf, Percy Cox, signed an accord known as the Anglo-Saudi Treaty. In exchange for Saudi agreement not to attack Bahrain or Kuwait, and a Saudi pledge not to have dealings with other foreign powers, the British agreed to recognize ʿAbd al-ʿAzīz as the legitimate ruler of Najd and al-Aḥsāʾ