What city served as the headquarters for the Ottoman Empire?