Why it's the capital
The Ottoman Empire founded the city after conquering the region, and 1461 is used as its founding date; the first Ottoman governor, Isa-Beg Ishaković, turned a cluster of villages into a city. In Yugoslavia it was the capital of the Socialist Republic of Bosnia and Herzegovina, and it stayed the capital after independence in 1992.