It was later designated as a military fort (Qa'at Al-Askar_ during the Ottoman presence in Qatar. The Place later became the official office of Qatar's Rulers, and was renamed Doha Palace. The fort was renamed as the Amiri Diwan in 1916, after the Anglo-Qatar treaty came to an end, and the title Amir replaced the title Ruler of the State of Qatar.