The Khanate of Kalat (Balochi: کلاتءِ ھانات) was a Baloch Khanate that existed from 1512 to 1955 in the centre of the modern-day province of Balochistan, Pakistan. Its rulers were Brahui speakers. Prior to that they were subjects of Mughal King Akbar. Mehrab Khan II Ahmedzai ruled the state independently until 1839, when he was killed by the British and Kalat became a self-governing state in a subsidiary alliance with British India. After the signature of the Treaty of Kalat by the Khan of Kalat and the Baloch Sardars in 1875, the supervision of Kalat was the task of the Baluchistan Agency. Kalat was briefly independent again from 12 August 1947 until 27 March 1948, when its ruler Ahmad Yar Khan acceded to Pakistan, making it one of the Princely states of Pakistan.