He communicates to the tribesmen the orders of the vali, which must be framed in accordance with their customs and institutions.
The nominal governor of the country was the Turkish vali, who resided at Banjaluka or Travnik, and rarely interfered in local affairs, if the taxes were duly paid.
Zvornik fell before the Austro-Hungarian army in 1688, and the Turkish vali, who was still officially styled the "vali of Hungary," removed his headquarters from Banjaluka to Travnik, a more southerly, and therefore a safer capital.
The downfall of the Moslem aristocracy resulted in an important administrative change: Serajevo, which had long been the commercial centre of the country, and the jealously guarded stronghold of the nobles, superseded Travnik as the official capital, and the residence of the vali.
A vali or governor-general, nominated by the sultan, stands at the head of the vilayet, and on him are directly dependent the kaimakams, mutassarifs, deftardars and other administrators of the minor divisions.