The castle and military barracks in Ta'if were repaired by the Ottomans in 1843, a "Hükümet Konağı" – mansion for government business – was built in 1869, and a post office was established sometime later.